aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/ftpgetput.c2
1 files changed, 1 insertions, 1 deletions
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@";