CVS update: php3/functions
| From: | sas | Date: | Sun, 20 Jun 1999 12:38:42 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7203@lists.php.net to get a copy of this message | ||
Date: Sunday June 20, 1999 @ 8:38
Author: sas
Update of /repository/php3/functions
In directory php:/tmp/cvs-serv3129/functions
Modified Files:
snmp.c
Log Message:
- fix VPATH APXS compile
- add --enable-ucd-snmp-hack
- unified autoconf scheme for adding libraries, include and link paths
(see comments in aclocal.m4)
- add base directory choice for XML/Freetype
- some configure.in cleanups
Index: php3/functions/snmp.c
diff -u php3/functions/snmp.c:1.15 php3/functions/snmp.c:1.16
--- php3/functions/snmp.c:1.15 Wed Jun 16 07:34:22 1999
+++ php3/functions/snmp.c Sun Jun 20 08:38:42 1999
@@ -27,7 +27,7 @@
| Mike Jackson <mhjack@tscnet.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: snmp.c,v 1.15 1999/06/16 11:34:22 ssb Exp $ */
+/* $Id: snmp.c,v 1.16 1999/06/20 12:38:42 sas Exp $ */
#include "php.h"
#include "internal_functions.h"
@@ -204,7 +204,11 @@
* in (at least) ucd-snmp 3.6.1 which frees
* memory it did not allocate
*/
+#ifdef UCD_SNMP_HACK
session.community = (u_char *) strdup(a2->value.str.val);
+#else
+ session.community = (u_char *) a2->value.str.val;
+#endif
session.community_len = a2->value.str.len;
session.retries = retries;
session.timeout = timeout;