]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/cnid/cnid_lookup.c
Merge latest CNID DB code from HEAD.
[netatalk.git] / libatalk / cnid / cnid_lookup.c
index 01acaff3406c251deffbba26175931a7799d8c67..039bcc77e9372bf43ff1f41ebc76de97030cf05b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: cnid_lookup.c,v 1.9.2.3 2001-12-15 06:35:28 jmarcus Exp $
+ * $Id: cnid_lookup.c,v 1.9.2.4 2002-02-09 20:29:02 jmarcus Exp $
  */
 
 #ifdef HAVE_CONFIG_H
@@ -53,7 +53,7 @@ cnid_t cnid_lookup(void *CNID, const struct stat *st, const cnid_t did,
             break;
         default:
             syslog(LOG_ERR, "cnid_lookup: txn_checkpoint: %s",
-                   db_strerror(rc));
+                db_strerror(rc));
             return 0;
         }
     }
@@ -82,7 +82,7 @@ cnid_t cnid_lookup(void *CNID, const struct stat *st, const cnid_t did,
         }
 
         syslog(LOG_ERR, "cnid_lookup: Unable to get CNID dev %u, ino %u: %s",
-               st->st_dev, st->st_ino, db_strerror(rc));
+            st->st_dev, st->st_ino, db_strerror(rc));
         return 0;
     }
 
@@ -100,7 +100,7 @@ cnid_t cnid_lookup(void *CNID, const struct stat *st, const cnid_t did,
         }
 
         syslog(LOG_ERR, "cnid_lookup: Unable to get CNID %u, name %s: %s",
-               ntohl(did), name, db_strerror(rc));
+            ntohl(did), name, db_strerror(rc));
         return 0;
     }
 
@@ -117,7 +117,7 @@ cnid_t cnid_lookup(void *CNID, const struct stat *st, const cnid_t did,
     if ((devino && didname) || !(devino || didname)) {
 #ifdef DEBUG
         syslog(LOG_INFO, "cnid_lookup: Looked up did %u, name %s, as %u",
-               ntohl(did), name, ntohl(id));
+            ntohl(did), name, ntohl(id));
 #endif
         return id;
     }