Date: Sun Apr 28 16:36:51 CEST 2002
User: Derick Rethans
Directory: php_srm
Log Message:
[0.25]
- Fix this little buggy
#- I'm ashamed :)
Modified files:
php_srm/srm.c (version: 1.41)
[FILE: /php_srm/srm.c]
--- php_srm/srm.c:1.40 Fri Apr 26 05:10:42 2002 GMT
+++ php_srm/srm.c Sun Apr 28 12:36:51 2002 GMT
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cvstemp,v 1.40 2002/04/26 07:10:42 derick Exp $ */
+/* $Id: cvstemp,v 1.41 2002/04/28 14:36:51 derick Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -763,7 +763,8 @@
{
struct srm_host_t hostinfo;
char *host;
- srm_ui16 port;
+ int host_len;
+ long port = 7777;
connect_data_t *connect_data;
srm_value *sret_val;
int ret;
@@ -778,7 +779,7 @@
/* Parse parameters */
if (zend_parse_parameters (ZEND_NUM_ARGS() TSRMLS_CC, "s|l",
- &host, &port) == FAILURE) {
+ &host, &host_len, &port) == FAILURE) {
return;
}
hostinfo.host = host;
Received on Sun Apr 28 17:32:55 2002
This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 04:00:03 CET