cvs commit
| From: | slawrance | Date: | Sun, 11 Jul 1999 20:45:28 +0000 |
| Subject: | cvs commit | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8369@lists.php.net to get a copy of this message | ||
From: slawrance
Date: Sun Jul 11 20:45:28 1999
Modified files:
php3/functions/snmp.c
Log message:
Fixed a really silly bug in the code I just put in a few minutes ago (doah!).
Index: php3/functions/snmp.c
diff -u php3/functions/snmp.c:1.18 php3/functions/snmp.c:1.19
--- php3/functions/snmp.c:1.18 Sun Jul 11 20:25:36 1999
+++ php3/functions/snmp.c Sun Jul 11 20:45:28 1999
@@ -28,7 +28,7 @@
| Steven Lawrance <slawrance@technologist.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: snmp.c,v 1.18 1999/07/12 00:25:36 slawrance Exp $ */
+/* $Id: snmp.c,v 1.19 1999/07/12 00:45:28 slawrance Exp $ */
#include "php.h"
#include "internal_functions.h"
@@ -177,11 +177,11 @@
if (myargc<5) WRONG_PARAM_COUNT;
convert_to_string(a4);
convert_to_string(a5);
- if(myargc>6) {
+ if(myargc>5) {
convert_to_long(a6);
timeout=a6->value.lval;
}
- if(myargc>7) {
+ if(myargc>6) {
convert_to_long(a7);
retries=a7->value.lval;
}