diff options
author | Hartmut Brandt <harti@FreeBSD.org> | 2006-01-31 14:59:07 +0000 |
---|---|---|
committer | Hartmut Brandt <harti@FreeBSD.org> | 2006-01-31 14:59:07 +0000 |
commit | 3dc7424242553c18368d96ed8cccc0407134cd04 (patch) | |
tree | 4e273362a687c774ceaf575ef23e73e350396193 /contrib | |
parent | a7ee7a7d6aa723ce89a6853d54056dfec8d403d9 (diff) | |
parent | 5105400329ff9a651aed2792f4a91c566f4bf858 (diff) | |
download | src-test2-3dc7424242553c18368d96ed8cccc0407134cd04.tar.gz src-test2-3dc7424242553c18368d96ed8cccc0407134cd04.zip |
Notes
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/bsnmp/snmpd/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/bsnmp/snmpd/main.c b/contrib/bsnmp/snmpd/main.c index 02ae93e2e838..32ccc45d50cf 100644 --- a/contrib/bsnmp/snmpd/main.c +++ b/contrib/bsnmp/snmpd/main.c @@ -1386,7 +1386,9 @@ main(int argc, char *argv[]) if (value == NULL) syslog(LOG_ERR, "no value for 'trace'"); - snmp_trace = strtoul(value, NULL, 0); + else + snmp_trace = + strtoul(value, NULL, 0); break; case -1: |