summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}