summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-11 22:39:25 +0000
committerDenis Vlasenko2007-01-11 22:39:25 +0000
commit4fa5e8b455c732db3176c7dbd58dec63d38f4273 (patch)
treea91b3004c888ad91739b6e0ebf14ae21f73be3c5
parentf7996f3b700a22797565e9aa57e251e6e3ac1e4d (diff)
downloadbusybox-4fa5e8b455c732db3176c7dbd58dec63d38f4273.zip
busybox-4fa5e8b455c732db3176c7dbd58dec63d38f4273.tar.gz
fix my own breakage
-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@";