comparison src/utilops.c @ 673:fbebf5cf4a55

Do not use printf() directly but use new wrapper function log_printf() instead.
author zas_
date Fri, 16 May 2008 12:16:49 +0000
parents 8268cbe682f1
children cca86176bf81
comparison
equal deleted inserted replaced
672:913eb0ba99a6 673:fbebf5cf4a55
3026 DEBUG_1("deltree into: %s", fd->path); 3026 DEBUG_1("deltree into: %s", fd->path);
3027 3027
3028 level++; 3028 level++;
3029 if (level > UTILITY_DELETE_MAX_DEPTH) 3029 if (level > UTILITY_DELETE_MAX_DEPTH)
3030 { 3030 {
3031 printf("folder recursion depth past %d, giving up\n", UTILITY_DELETE_MAX_DEPTH); 3031 log_printf("folder recursion depth past %d, giving up\n", UTILITY_DELETE_MAX_DEPTH);
3032 return file_data_ref(fd); 3032 return file_data_ref(fd);
3033 } 3033 }
3034 3034
3035 if (!filelist_read_lstat(fd->path, &flist, &dlist)) file_data_ref(fd); 3035 if (!filelist_read_lstat(fd->path, &flist, &dlist)) file_data_ref(fd);
3036 3036