Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /branches/smbnetfs-0.3/src/reconfigure.c [r108] .. [r109] Maximize Restore

  Switch to side-by-side view

--- a/branches/smbnetfs-0.3/src/reconfigure.c
+++ b/branches/smbnetfs-0.3/src/reconfigure.c
@@ -248,11 +248,11 @@
 	}
 	if ((cnt == 2) && (strcasecmp(arg[0], "host") == 0)){
 	    if (!ok_permission) goto insecure_permission;
-	    if (mkhost(arg[1], USERPATH)) continue;
+	    if (mkhost(arg[1], USER_TREE)) continue;
 	}
 	if ((cnt == 2) && (strcasecmp(arg[0], "group") == 0)){
 	    if (!ok_permission) goto insecure_permission;
-	    if (mkgroup(arg[1], USERPATH)) continue;
+	    if (mkgroup(arg[1], USER_TREE)) continue;
 	}
 	if ((cnt >= 2) && (cnt <= 3) && (strcasecmp(arg[0], "link") == 0)){
 	    if (!ok_permission) goto insecure_permission;
@@ -263,7 +263,7 @@
 		    safe_copy(arg[2] + 3, name, LINE_SIZE - 3);
 		}
 	    }
-	    if (mklink(arg[1], arg[2], USERPATH)) continue;
+	    if (mklink(arg[1], arg[2], USER_TREE)) continue;
 	}
 
       error: