svn: /php/php-src/trunk/ext/snmp/ snmp.c
| From: | Boris Lytochkin | Date: | Thu, 17 Feb 2011 12:12:22 +0000 |
| Subject: | svn: /php/php-src/trunk/ext/snmp/ snmp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-64567@lists.php.net to get a copy of this message | ||
lytboris Thu, 17 Feb 2011 12:12:22 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=308429
Log:
enable HAVE_SHUTDOWN_SNMP_LOGGING
Changed paths:
U php/php-src/trunk/ext/snmp/snmp.c
Modified: php/php-src/trunk/ext/snmp/snmp.c
===================================================================
--- php/php-src/trunk/ext/snmp/snmp.c 2011-02-17 12:08:08 UTC (rev 308428)
+++ php/php-src/trunk/ext/snmp/snmp.c 2011-02-17 12:12:22 UTC (rev 308429)
@@ -118,7 +118,7 @@
#endif
/* For net-snmp prior to 5.4 */
-//#ifndef HAVE_SHUTDOWN_SNMP_LOGGING
+#ifndef HAVE_SHUTDOWN_SNMP_LOGGING
extern netsnmp_log_handler *logh_head;
#define shutdown_snmp_logging() \
{ \
@@ -126,7 +126,7 @@
while(NULL != logh_head) \
netsnmp_remove_loghandler( logh_head ); \
}
-//#endif
+#endif
/* For really old ucd-snmp versions.. */
#ifndef HAVE_SNMP_PARSE_OID