summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-06-10 19:27:32 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-06-10 19:27:32 +0000
commit33a7f1bba03b906e092c6d2821b1285bbd393b2e (patch)
treed7ab725a45540f67a010b7f37deedd8edd327db6 /source3
parent5cee22714c1fc418dc8a3e1770e9048071b892d9 (diff)
downloadsamba-33a7f1bba03b906e092c6d2821b1285bbd393b2e.tar.gz
samba-33a7f1bba03b906e092c6d2821b1285bbd393b2e.tar.bz2
samba-33a7f1bba03b906e092c6d2821b1285bbd393b2e.zip
Don't segfault when -b is specified (fixes debian bug #196833)
(This used to be commit 4af9074397bbb208e585f85aaa8a6e402057ebdd)
Diffstat (limited to 'source3')
-rw-r--r--source3/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 69037ca1db..37daaa736d 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -2822,7 +2822,7 @@ static void remember_query_host(const char *arg,
fstrcpy(base_directory,poptGetOptArg(pc));
break;
case 'b':
- io_bufsize = MAX(1, atoi(poptGetOptArg(pc)));
+ io_bufsize = MAX(1, poptGetOptArg(pc));
break;
}
}