diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index e9ba5435a..51e230296 100644 --- a/networking/ftpgetput.c +++ b/networking/ftpgetput.c @@ -320,7 +320,7 @@ int ftpgetput_main(int argc, char **argv) #endif /* Set default values */ - server = xmalloc(*server); + server = xmalloc(sizeof(*server)); server->user = "anonymous"; server->password = "busybox@";