]> arthur.barton.de Git - netatalk.git/commitdiff
Previous patch broke few things
authorfranklahm <franklahm>
Tue, 17 Mar 2009 14:30:57 +0000 (14:30 +0000)
committerfranklahm <franklahm>
Tue, 17 Mar 2009 14:30:57 +0000 (14:30 +0000)
etc/afpd/auth.c
etc/afpd/directory.c

index 79a3852afdb7e486ec3abafd827edc7868a160aa..c12fbba5878f34a7b6a37e16e3a61b5674254ff1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: auth.c,v 1.62 2009-03-16 11:02:43 franklahm Exp $
+ * $Id: auth.c,v 1.63 2009-03-17 14:30:57 franklahm Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -1002,7 +1002,7 @@ int       ibuflen _U_, *rbuflen;
             LOG(log_info, logtype_afpd, "afp_getuserinfo: error getting UUID !");
             return AFPERR_NOITEM;
         }
-        if (0 == (uuid_bin2string( uuid, &uuidstring)) {
+        if (0 == (uuid_bin2string( uuid, &uuidstring))) {
             LOG(log_debug, logtype_afpd, "afp_getuserinfo: got UUID: %s", uuidstring);
             free(uuidstring);
         }
index d8f83a84402cffe2413d600d8c1a660a4572cbf7..ce0dc364777a65ee641601eebb47dc599f2e3866 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: directory.c,v 1.93 2009-03-16 13:59:12 franklahm Exp $
+ * $Id: directory.c,v 1.94 2009-03-17 14:30:57 franklahm Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -2478,6 +2478,7 @@ int       ibuflen _U_, *rbuflen;
     u_int32_t           id;
     int                        len, sfunc;
     int         utf8 = 0;
+    uuidtype_t          type;
 
     ibuf++;
     sfunc = (unsigned char) *ibuf++;