Now that all supported targets echo the Return key on gets() there's no more need to print \n's.

This commit is contained in:
Oliver Schmidt 2013-12-26 16:12:39 +01:00
parent 63725eff36
commit f6940903a0

View file

@ -161,11 +161,10 @@ PROCESS_THREAD(wget_process, ev, data)
PROCESS_PAUSE(); PROCESS_PAUSE();
} }
fputs("\nGet url:", stdout); fputs("Get url:", stdout);
gets(url); gets(url);
fputs("\nSave as:", stdout); fputs("Save as:", stdout);
gets(name); gets(name);
puts("");
file = cfs_open(name, CFS_WRITE); file = cfs_open(name, CFS_WRITE);
if(file == -1) { if(file == -1) {
printf("Open error with '%s'\n", name); printf("Open error with '%s'\n", name);