summaryrefslogtreecommitdiff
path: root/src/rps/gnunet-rps.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rps/gnunet-rps.c')
-rw-r--r--src/rps/gnunet-rps.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/rps/gnunet-rps.c b/src/rps/gnunet-rps.c
index 50b5b6739..d731ffa55 100644
--- a/src/rps/gnunet-rps.c
+++ b/src/rps/gnunet-rps.c
@@ -97,7 +97,7 @@ reply_handle (void *cls,
97 req_handle = NULL; 97 req_handle = NULL;
98 for (i = 0; i < n; i++) 98 for (i = 0; i < n; i++)
99 { 99 {
100 FPRINTF (stdout, "%s\n", 100 fprintf (stdout, "%s\n",
101 GNUNET_i2s_full (&recv_peers[i])); 101 GNUNET_i2s_full (&recv_peers[i]));
102 } 102 }
103 ret = 0; 103 ret = 0;
@@ -122,12 +122,12 @@ view_update_handle (void *cls,
122 122
123 if (0 == n) 123 if (0 == n)
124 { 124 {
125 FPRINTF (stdout, "Empty view\n"); 125 fprintf (stdout, "Empty view\n");
126 } 126 }
127 req_handle = NULL; 127 req_handle = NULL;
128 for (i = 0; i < n; i++) 128 for (i = 0; i < n; i++)
129 { 129 {
130 FPRINTF (stdout, "%s\n", 130 fprintf (stdout, "%s\n",
131 GNUNET_i2s_full (&recv_peers[i])); 131 GNUNET_i2s_full (&recv_peers[i]));
132 } 132 }
133 133
@@ -159,12 +159,12 @@ stream_input_handle (void *cls,
159 159
160 if (0 == num_peers) 160 if (0 == num_peers)
161 { 161 {
162 FPRINTF (stdout, "No peer was returned\n"); 162 fprintf (stdout, "No peer was returned\n");
163 } 163 }
164 req_handle = NULL; 164 req_handle = NULL;
165 for (i = 0; i < num_peers; i++) 165 for (i = 0; i < num_peers; i++)
166 { 166 {
167 FPRINTF (stdout, "%s\n", 167 fprintf (stdout, "%s\n",
168 GNUNET_i2s_full (&recv_peers[i])); 168 GNUNET_i2s_full (&recv_peers[i]));
169 } 169 }
170} 170}
@@ -192,7 +192,7 @@ run (void *cls,
192 rps_handle = GNUNET_RPS_connect (cfg); 192 rps_handle = GNUNET_RPS_connect (cfg);
193 if (NULL == rps_handle) 193 if (NULL == rps_handle)
194 { 194 {
195 FPRINTF (stderr, "Failed to connect to the rps service\n"); 195 fprintf (stderr, "Failed to connect to the rps service\n");
196 return; 196 return;
197 } 197 }
198 198
@@ -235,7 +235,7 @@ run (void *cls,
235 else 235 else
236 { /* Seed PeerID */ 236 { /* Seed PeerID */
237 GNUNET_RPS_seed_ids (rps_handle, 1, &peer_id); 237 GNUNET_RPS_seed_ids (rps_handle, 1, &peer_id);
238 FPRINTF (stdout, "Seeded PeerID %s\n", GNUNET_i2s_full (&peer_id)); 238 fprintf (stdout, "Seeded PeerID %s\n", GNUNET_i2s_full (&peer_id));
239 ret = 0; 239 ret = 0;
240 GNUNET_SCHEDULER_add_now (&do_shutdown, NULL); 240 GNUNET_SCHEDULER_add_now (&do_shutdown, NULL);
241 } 241 }