diff options
author | Boris Lytochkin <lytboris@php.net> | 2011-02-17 12:12:22 +0000 |
---|---|---|
committer | Boris Lytochkin <lytboris@php.net> | 2011-02-17 12:12:22 +0000 |
commit | 73f5ee551ce496b38369c7d644c544d866a2885c (patch) | |
tree | 31f7425d0c1398b04c5adde89331b25e9cee6177 | |
parent | 6b81a9ac2e05e33b3c64da35bb71ea63068dd4b4 (diff) | |
download | php-git-73f5ee551ce496b38369c7d644c544d866a2885c.tar.gz |
enable HAVE_SHUTDOWN_SNMP_LOGGING
-rw-r--r-- | ext/snmp/snmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index ab3668cacf..09f97307f7 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -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 @@ extern netsnmp_log_handler *logh_head; while(NULL != logh_head) \ netsnmp_remove_loghandler( logh_head ); \ } -//#endif +#endif /* For really old ucd-snmp versions.. */ #ifndef HAVE_SNMP_PARSE_OID |