diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-03-21 23:44:48 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-03-21 23:44:48 +0000 |
commit | fd2dd2aa231954db2bcc0b60f2a696bc38161aa9 (patch) | |
tree | e981f7dd70404ee5a9e516186f603fa14be8e56b /clientserver.c | |
parent | 82ed9106304afc7af5df7bed12ba7d3e2c5c6134 (diff) | |
download | rsync-fd2dd2aa231954db2bcc0b60f2a696bc38161aa9.tar.gz |
better error msg for "invalid uid" and "invalid gid"
Diffstat (limited to 'clientserver.c')
-rw-r--r-- | clientserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clientserver.c b/clientserver.c index a4e9e82e..1bb0633a 100644 --- a/clientserver.c +++ b/clientserver.c @@ -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); |