]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/util/volinfo.c
New utility to maintain dbd databases: dbd. Also replaces cnid_index. Still incomplete.
[netatalk.git] / libatalk / util / volinfo.c
index 68b7c71b0c3bd9c66275483079e14a50cee4f775..262c240b8eaa826fcfe082448554684951f38869 100644 (file)
@@ -118,9 +118,6 @@ static char* find_in_path( char *path, char *subdir, size_t maxlen)
     pos = strrchr(path, '/');
 
     while ( stat(path, &st) != 0) {
-#ifdef DEBUG
-        fprintf(stderr, "searching in path %s\n", path);
-#endif
         path[pos-path]=0;
         if ((pos = strrchr(path, '/'))) {
             path[pos-path]=0;
@@ -133,9 +130,7 @@ static char* find_in_path( char *path, char *subdir, size_t maxlen)
 
     path[pos-path] = '/';
     path[pos-path+1] = 0;
-#ifdef DEBUG
-    fprintf(stderr, "%s path %s\n", subdir, path);
-#endif
+
     return path;
 }
 
@@ -319,9 +314,6 @@ static int parseline ( char *buf, struct volinfo *vol)
        return (-1);
         break;
     }
-#ifdef DEBUG
-    printf ("volume information: %s, %s", buf, value);
-#endif
         
     return 0;
 }