--- old/snmpusm.c	2006-11-03 18:18:00.184936000 +0100
+++ new/snmpusm.c	2006-11-03 18:16:08.685967750 +0100
@@ -2861,7 +2861,7 @@
  *      
  * Returns:
  *	0	On success,
- *	-1	Otherwise.
+ *	1	Otherwise.
  *
  * Checks that a given security level is valid for a given user.
  */
@@ -2870,7 +2870,7 @@
 {
 
     if (user->userStatus != RS_ACTIVE)
-        return -1;
+        return 1;
 
     DEBUGMSGTL(("comparex", "Comparing: %d %d ", usmNoPrivProtocol[0],
                 usmNoPrivProtocol[1]));
