Fixed the return type on the new links_depth() function.
authorWayne Davison <wayned@samba.org>
Fri, 16 Jul 2004 17:02:12 +0000 (17:02 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 16 Jul 2004 17:02:12 +0000 (17:02 +0000)
links-depth.diff

index f665bcf..1b012de 100644 (file)
@@ -7,7 +7,7 @@ handle relative symlinks properly, and that has not yet been fixed
 in this modified version.
 
 --- orig/flist.c       2004-07-15 02:21:10
-+++ flist.c    2004-07-16 16:38:35
++++ flist.c    2004-07-16 16:58:04
 @@ -49,6 +49,7 @@ extern int filesfrom_fd;
  extern int one_file_system;
  extern int keep_dirlinks;
@@ -21,7 +21,7 @@ in this modified version.
  
  
 +#if SUPPORT_LINKS
-+void links_depth(char *linkname, STRUCT_STAT *st_ptr)
++static int links_depth(char *linkname, STRUCT_STAT *st_ptr)
 +{
 +      char buf[MAXPATHLEN];
 +      STRUCT_STAT st;