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: Sat, 18 Sep 2004 19:35:24 +0200

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

Modified Files:
        gsasl.h.in internal.h property.c register.c xstep.c 
Log Message:
Indent.

--- /home/cvs/gsasl/lib/src/gsasl.h.in  2004/09/18 17:34:38     1.12
+++ /home/cvs/gsasl/lib/src/gsasl.h.in  2004/09/18 17:35:24     1.13
@@ -250,4 +250,4 @@
 }
 # endif
 
-#endif /* GSASL_H */
+#endif                         /* GSASL_H */
--- /home/cvs/gsasl/lib/src/internal.h  2004/09/18 17:33:55     1.9
+++ /home/cvs/gsasl/lib/src/internal.h  2004/09/18 17:35:24     1.10
@@ -81,7 +81,7 @@
 
 /* Move to gsasl.h once all mechanisms have been rewritten to use
    allocating API.  See register.c. */
-extern int gsasl_register (Gsasl * ctx, const _Gsasl_mechanism *mech);
+extern int gsasl_register (Gsasl * ctx, const _Gsasl_mechanism * mech);
 
 /* Main library handle. */
 struct Gsasl
--- /home/cvs/gsasl/lib/src/property.c  2004/09/18 01:59:58     1.3
+++ /home/cvs/gsasl/lib/src/property.c  2004/09/18 17:35:24     1.4
@@ -136,8 +136,7 @@
  * session specific data is present.
  **/
 void
-gsasl_property_set_global (Gsasl * ctx, Gsasl_property prop,
-                          const char *data)
+gsasl_property_set_global (Gsasl * ctx, Gsasl_property prop, const char *data)
 {
   char **p = map_global (ctx, prop);
 
--- /home/cvs/gsasl/lib/src/register.c  2004/09/17 21:27:12     1.1
+++ /home/cvs/gsasl/lib/src/register.c  2004/09/18 17:35:24     1.2
@@ -38,7 +38,7 @@
  * Return value: GSASL_OK iff successful, otherwise GSASL_MALLOC_ERROR.
  **/
 int
-gsasl_register (Gsasl * ctx, const _Gsasl_mechanism *mech)
+gsasl_register (Gsasl * ctx, const _Gsasl_mechanism * mech)
 {
   _Gsasl_mechanism *tmp;
 
@@ -46,8 +46,7 @@
   if (mech->client.init == NULL || mech->client.init (ctx) == GSASL_OK)
     {
       tmp = realloc (ctx->client_mechs,
-                    sizeof (*ctx->client_mechs) *
-                    (ctx->n_client_mechs + 1));
+                    sizeof (*ctx->client_mechs) * (ctx->n_client_mechs + 1));
       if (tmp == NULL)
        return GSASL_MALLOC_ERROR;
 
@@ -62,8 +61,7 @@
   if (mech->server.init == NULL || mech->server.init (ctx) == GSASL_OK)
     {
       tmp = realloc (ctx->server_mechs,
-                    sizeof (*ctx->server_mechs) *
-                    (ctx->n_server_mechs + 1));
+                    sizeof (*ctx->server_mechs) * (ctx->n_server_mechs + 1));
       if (tmp == NULL)
        return GSASL_MALLOC_ERROR;
 
--- /home/cvs/gsasl/lib/src/xstep.c     2004/07/10 12:39:59     1.3
+++ /home/cvs/gsasl/lib/src/xstep.c     2004/09/18 17:35:24     1.4
@@ -71,21 +71,19 @@
   if (astep)
     {
       res = astep (sctx, sctx->mech_data,
-                  input, input_len,
-                  output, output_len);
+                  input, input_len, output, output_len);
     }
   else
     {
       /* XXX once all mechanisms uses the "astep" interface, this will
-        go away. */
+         go away. */
       *output_len = 1000;
       *output = malloc (*output_len);
       if (*output == NULL)
        return GSASL_MALLOC_ERROR;
 
       res = step (sctx, sctx->mech_data,
-                 input, input_len,
-                 *output, output_len);
+                 input, input_len, *output, output_len);
 
       if (res != GSASL_OK && res != GSASL_NEEDS_MORE)
        free (*output);





reply via email to

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