gsasl-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS gsasl/lib/src


From: gsasl-commit
Subject: CVS gsasl/lib/src
Date: Tue, 30 Nov 2004 10:12:17 +0100

Update of /home/cvs/gsasl/lib/src
In directory dopio:/tmp/cvs-serv3839

Modified Files:
        xstep.c 
Log Message:
Don't clobber return code, reported by Martin Lambers <address@hidden>.


--- /home/cvs/gsasl/lib/src/xstep.c     2004/11/28 04:17:29     1.9
+++ /home/cvs/gsasl/lib/src/xstep.c     2004/11/30 09:12:17     1.10
@@ -106,13 +106,13 @@
 
   if (res == GSASL_OK || res == GSASL_NEEDS_MORE)
     {
-      res = gsasl_base64_to (output, output_len, b64output, NULL);
+      int tmpres = gsasl_base64_to (output, output_len, b64output, NULL);
 
       if (output != NULL)
        free (output);
 
-      if (res != GSASL_OK)
-       return res;
+      if (tmpres != GSASL_OK)
+       return tmpres;
     }
 
   return res;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]