summaryrefslogtreecommitdiff
path: root/networking/ftpgetput.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ftpgetput.c')
-rw-r--r--networking/ftpgetput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c
index e9ba543..51e2302 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@";