]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/aclparse.c
Rework ac/socket.h for HAVE_WINSOCK:
[openldap] / servers / slapd / aclparse.c
index b3741a0b70d9dac7c1a9e724a4ff4f9c65dfceb5..b7b0d9507ab8b5684e577cb2e860fbf4995a504f 100644 (file)
@@ -87,7 +87,7 @@ parse_acl(
 )
 {
        int             i;
-       char            *e, *left, *right;
+       char            *left, *right;
        struct acl      *a;
        struct access   *b;
 
@@ -181,8 +181,7 @@ parse_acl(
                         * by clause consists of <who> and <access>
                         */
 
-                       b = (struct access *) ch_calloc( 1,
-                           sizeof(struct access) );
+                       b = (struct access *) ch_calloc( 1, sizeof(struct access) );
 
                        if ( ++i == argc ) {
                                fprintf( stderr,