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: Fri, 24 Sep 2004 16:27:37 +0200

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

Modified Files:
        gsasl-mech.h xfinish.c 
Log Message:
Make mechanism finish function return void.


--- /home/cvs/gsasl/lib/src/gsasl-mech.h        2004/09/24 13:33:52     1.1
+++ /home/cvs/gsasl/lib/src/gsasl-mech.h        2004/09/24 14:27:37     1.2
@@ -25,13 +25,11 @@
 /* Mechanism function prototypes. */
 typedef int (*Gsasl_init_function) (Gsasl * ctx);
 typedef void (*Gsasl_done_function) (Gsasl * ctx);
-typedef int (*Gsasl_start_function) (Gsasl_session * sctx,
-                                    void **mech_data);
+typedef int (*Gsasl_start_function) (Gsasl_session * sctx, void **mech_data);
 typedef int (*Gsasl_step_function) (Gsasl_session * sctx, void *mech_data,
                                    const char *input, size_t input_len,
                                    char **output, size_t * output_len);
-typedef int (*Gsasl_finish_function) (Gsasl_session * sctx,
-                                     void *mech_data);
+typedef void (*Gsasl_finish_function) (Gsasl_session * sctx, void *mech_data);
 typedef int (*Gsasl_code_function) (Gsasl_session * sctx, void *mech_data,
                                    const char *input, size_t input_len,
                                    char **output, size_t * output_len);
--- /home/cvs/gsasl/lib/src/xfinish.c   2004/09/18 16:33:48     1.5
+++ /home/cvs/gsasl/lib/src/xfinish.c   2004/09/24 14:27:37     1.6
@@ -42,8 +42,6 @@
        sctx->mech->server.finish (sctx, sctx->mech_data);
     }
 
-  /* XXX return value? */
-
   if (sctx->anonymous_token)
     free (sctx->anonymous_token);
   if (sctx->authid)





reply via email to

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