summaryrefslogtreecommitdiff
path: root/clientserver.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-03-21 23:44:48 +0000
committerAndrew Tridgell <tridge@samba.org>2001-03-21 23:44:48 +0000
commitfd2dd2aa231954db2bcc0b60f2a696bc38161aa9 (patch)
treee981f7dd70404ee5a9e516186f603fa14be8e56b /clientserver.c
parent82ed9106304afc7af5df7bed12ba7d3e2c5c6134 (diff)
downloadrsync-fd2dd2aa231954db2bcc0b60f2a696bc38161aa9.tar.gz
better error msg for "invalid uid" and "invalid gid"
Diffstat (limited to 'clientserver.c')
-rw-r--r--clientserver.c4
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);