aboutsummaryrefslogtreecommitdiff
path: root/src/nat/nat_mini.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-16 16:03:20 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-16 16:03:20 +0000
commit16a6919a9f98ee9fa1fee9dd262906c321004a19 (patch)
treee09d4fe5191dc329b3e1b667f2914f8313bcba59 /src/nat/nat_mini.c
parent4d7904c62bb867c44e90b8e9f7cdbb4b283abc44 (diff)
downloadgnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.tar.gz
gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.zip
even nicer indentation, thanks to LRN's indent patch
Diffstat (limited to 'src/nat/nat_mini.c')
-rw-r--r--src/nat/nat_mini.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nat/nat_mini.c b/src/nat/nat_mini.c
index e88c9ca55..1f5a83d2d 100644
--- a/src/nat/nat_mini.c
+++ b/src/nat/nat_mini.c
@@ -279,8 +279,8 @@ struct GNUNET_NAT_MiniHandle
279 * @param cls the 'struct GNUNET_NAT_MiniHandle' 279 * @param cls the 'struct GNUNET_NAT_MiniHandle'
280 * @param tc scheduler context 280 * @param tc scheduler context
281 */ 281 */
282static void do_refresh (void *cls, 282static void
283 const struct GNUNET_SCHEDULER_TaskContext *tc); 283do_refresh (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc);
284 284
285 285
286/** 286/**
@@ -289,7 +289,8 @@ static void do_refresh (void *cls,
289 * @param cls the 'struct GNUNET_NAT_MiniHandle' 289 * @param cls the 'struct GNUNET_NAT_MiniHandle'
290 * @param line line of output, NULL at the end 290 * @param line line of output, NULL at the end
291 */ 291 */
292static void process_map_output (void *cls, const char *line); 292static void
293process_map_output (void *cls, const char *line);
293 294
294 295
295/** 296/**
@@ -376,8 +377,7 @@ process_refresh_output (void *cls, const char *line)
376 return; /* skip */ 377 return; /* skip */
377 if (1 != 378 if (1 !=
378 sscanf (line, 379 sscanf (line,
379 (mini-> 380 (mini->is_tcp) ? "%*u TCP %u->%*s:%*u %*s" :
380 is_tcp) ? "%*u TCP %u->%*s:%*u %*s" :
381 "%*u UDP %u->%*s:%*u %*s", &nport)) 381 "%*u UDP %u->%*s:%*u %*s", &nport))
382 return; /* skip */ 382 return; /* skip */
383 mini->found = GNUNET_YES; 383 mini->found = GNUNET_YES;