]> git.decadent.org.uk Git - ap-utils.git/blobdiff - src/nwn_advanced.c
Imported Upstream version 1.5~pre2
[ap-utils.git] / src / nwn_advanced.c
index db68a788d6c0d76504ed579ff7c304c9132aebb9..a41c1b58ef8b302229f0a8f1d3e769a9fa1b9d7c 100644 (file)
@@ -45,7 +45,7 @@ void advanced()
     varbinds[1].oid = smtACKWindow;
     varbinds[1].len_oid = sizeof(smtACKWindow);
     print_help(WAIT_RET);
-    if (snmp(varbinds, 2, GET) <= 0) {
+    if (snmp(varbinds, 2, GET) < 2) {
        print_helperr(ERR_RET);
        goto exit;
     }