aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/gnunet-conversation-test.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-06 20:55:28 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-06 20:55:28 +0000
commit61c39c60565b386e0e12ea669556b030e8cd7180 (patch)
tree59109aeab8297bdc996faca8c4e38ec7426c36cf /src/conversation/gnunet-conversation-test.c
parent780eb09dd8040ecf8649d40ddf8314464e0fc48e (diff)
downloadgnunet-61c39c60565b386e0e12ea669556b030e8cd7180.tar.gz
gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.zip
-remove trailing whitespace
Diffstat (limited to 'src/conversation/gnunet-conversation-test.c')
-rw-r--r--src/conversation/gnunet-conversation-test.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/conversation/gnunet-conversation-test.c b/src/conversation/gnunet-conversation-test.c
index 1f44ca1fc..cc831a3ab 100644
--- a/src/conversation/gnunet-conversation-test.c
+++ b/src/conversation/gnunet-conversation-test.c
@@ -25,8 +25,8 @@
25 */ 25 */
26#include "platform.h" 26#include "platform.h"
27#include "gnunet_util_lib.h" 27#include "gnunet_util_lib.h"
28#include "gnunet_speaker_lib.h" 28#include "gnunet_speaker_lib.h"
29#include "gnunet_microphone_lib.h" 29#include "gnunet_microphone_lib.h"
30 30
31/** 31/**
32 * How long do we record before we replay? 32 * How long do we record before we replay?
@@ -117,7 +117,7 @@ do_shutdown (void *cls,
117 rec); 117 rec);
118 GNUNET_free (rec); 118 GNUNET_free (rec);
119 } 119 }
120 fprintf (stderr, 120 fprintf (stderr,
121 _("\nEnd of transmission. Have a GNU day.\n")); 121 _("\nEnd of transmission. Have a GNU day.\n"));
122} 122}
123 123
@@ -145,7 +145,7 @@ switch_to_speaker (void *cls,
145 GNUNET_SCHEDULER_shutdown (); 145 GNUNET_SCHEDULER_shutdown ();
146 return; 146 return;
147 } 147 }
148 fprintf (stderr, 148 fprintf (stderr,
149 _("\nWe are now playing your recording back. If you can hear it, your audio settings are working...")); 149 _("\nWe are now playing your recording back. If you can hear it, your audio settings are working..."));
150 for (rec=rec_head; NULL != rec; rec = rec->next) 150 for (rec=rec_head; NULL != rec; rec = rec->next)
151 { 151 {
@@ -170,7 +170,7 @@ switch_to_speaker (void *cls,
170 * @param data_size number of bytes in @a data 170 * @param data_size number of bytes in @a data
171 * @param data audio data to play 171 * @param data audio data to play
172 */ 172 */
173static void 173static void
174record (void *cls, 174record (void *cls,
175 size_t data_size, 175 size_t data_size,
176 const void *data) 176 const void *data)
@@ -211,7 +211,7 @@ run (void *cls, char *const *args, const char *cfgfile,
211 st = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, 211 st = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
212 &do_shutdown, 212 &do_shutdown,
213 NULL); 213 NULL);
214 fprintf (stderr, 214 fprintf (stderr,
215 _("We will now be recording you for %s. After that time, the recording will be played back to you..."), 215 _("We will now be recording you for %s. After that time, the recording will be played back to you..."),
216 GNUNET_STRINGS_relative_time_to_string (TIMEOUT, GNUNET_YES)); 216 GNUNET_STRINGS_relative_time_to_string (TIMEOUT, GNUNET_YES));
217 if (GNUNET_OK != 217 if (GNUNET_OK !=