From d5f1b0be06764e4b52c3b6afb359f8a84d2c5230 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Fri, 12 Feb 2010 10:14:09 +0000 Subject: [PATCH] Some targets (i.e. the CBMs) don't echo the \n. Therefore print (additional) \n's. --- examples/wget/wget.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/wget/wget.c b/examples/wget/wget.c index 4af045222..f7b1759b3 100644 --- a/examples/wget/wget.c +++ b/examples/wget/wget.c @@ -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);