fix my own breakage
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 11 Jan 2007 22:39:25 +0000 (22:39 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 11 Jan 2007 22:39:25 +0000 (22:39 -0000)
networking/ftpgetput.c

index e9ba5435a0d656dc1ecbc5127c19c1bebb10bd5f..51e230296fcbf5148899395b3f7b008e4a311821 100644 (file)
@@ -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@";