Some targets (i.e. the CBMs) don't echo the \n. Therefore print (additional) \n's.
This commit is contained in:
parent
66bf4a6063
commit
d5f1b0be06
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
* This file is part of the Contiki desktop environment
|
||||
*
|
||||
* $Id: wget.c,v 1.1 2010/02/10 23:51:38 oliverschmidt Exp $
|
||||
* $Id: wget.c,v 1.2 2010/02/12 10:14:09 oliverschmidt Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -162,8 +162,9 @@ PROCESS_THREAD(wget_process, ev, data)
|
|||
if(ev == 0) {
|
||||
fputs("\nGet url:", stdout);
|
||||
gets(url);
|
||||
fputs("Save as:", stdout);
|
||||
fputs("\nSave as:", stdout);
|
||||
gets(name);
|
||||
puts("");
|
||||
file = cfs_open(name, CFS_WRITE);
|
||||
if(file == -1) {
|
||||
printf("Open error with '%s'\n", name);
|
||||
|
|
Loading…
Reference in a new issue