display_status: fix logic error
authorSam Hartman <hartmans@painless-security.com>
Mon, 28 Feb 2011 22:04:12 +0000 (17:04 -0500)
committerSam Hartman <hartmans@painless-security.com>
Mon, 28 Feb 2011 22:04:12 +0000 (17:04 -0500)
transposition of next and p

display_status.c

index 43f285b..c3c3cea 100644 (file)
@@ -99,7 +99,7 @@ saveStatusInfoNoCopy(OM_uint32 minor, char *message)
     p->code = minor;
     p->message = message;
 
-    if (p != NULL)
+    if (next != NULL)
         *next = p;
     else
         GSSEAP_SETSPECIFIC(gssEapStatusInfoKey, p);