]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - backend/socket.c
The "snmp" option did not work with the network backends (STR #4422)
[thirdparty/cups.git] / backend / socket.c
index 0c01fbfa78e64f4faca860b332361100f83bd1c0..d7f98d9b07872c4cc9d39334e957b5036fb3f9d6 100644 (file)
@@ -245,8 +245,8 @@ main(int  argc,                             /* I - Number of command-line arguments (6 or 7) */
          */
 
          snmp_enabled = !value[0] || !_cups_strcasecmp(value, "on") ||
-                        _cups_strcasecmp(value, "yes") ||
-                        _cups_strcasecmp(value, "true");
+                        !_cups_strcasecmp(value, "yes") ||
+                        !_cups_strcasecmp(value, "true");
       }
       else if (!_cups_strcasecmp(name, "contimeout"))
       {