]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
better error msg for "invalid uid" and "invalid gid"
authorAndrew Tridgell <tridge@samba.org>
Wed, 21 Mar 2001 23:44:48 +0000 (23:44 +0000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 21 Mar 2001 23:44:48 +0000 (23:44 +0000)
clientserver.c

index a4e9e82e8467b87026a28d83dd25e8fa2057de46..1bb0633a853756fa7cff40187cdac0335a88cec3 100644 (file)
@@ -196,7 +196,7 @@ static int rsync_module(int fd, int i)
                if (!name_to_uid(p, &uid)) {
                        if (!isdigit(*p)) {
                                rprintf(FERROR,"Invalid uid %s\n", p);
-                               io_printf(fd,"@ERROR: invalid uid\n");
+                               io_printf(fd,"@ERROR: invalid uid %s\n", p);
                                return -1;
                        } 
                        uid = atoi(p);
@@ -206,7 +206,7 @@ static int rsync_module(int fd, int i)
                if (!name_to_gid(p, &gid)) {
                        if (!isdigit(*p)) {
                                rprintf(FERROR,"Invalid gid %s\n", p);
-                               io_printf(fd,"@ERROR: invalid gid\n");
+                               io_printf(fd,"@ERROR: invalid gid %s\n", p);
                                return -1;
                        } 
                        gid = atoi(p);