From f6940903a0404a4855a1f6ef4772a282de9f360a Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Thu, 26 Dec 2013 16:12:39 +0100
Subject: [PATCH] Now that all supported targets echo the Return key on gets()
there's no more need to print \n's.
---
examples/wget/wget.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/examples/wget/wget.c b/examples/wget/wget.c
index a792ad3ed..d968f99d1 100644
--- a/examples/wget/wget.c
+++ b/examples/wget/wget.c
@@ -161,11 +161,10 @@ PROCESS_THREAD(wget_process, ev, data)
PROCESS_PAUSE();
}
- fputs("\nGet url:", stdout);
+ fputs("Get url:", stdout);
gets(url);
- fputs("\nSave as:", stdout);
+ fputs("Save as:", stdout);
gets(name);
- puts("");
file = cfs_open(name, CFS_WRITE);
if(file == -1) {
printf("Open error with '%s'\n", name);