diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-01-07 05:14:12 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-01-07 05:14:12 +0000 |
commit | 9e0744da3a82cc7b68a9043272044584be98db44 (patch) | |
tree | 0d66dcff21faddda56c57f6768f7fee49649366a /src/transport/gnunet-transport.c | |
parent | 1ab001d527da02fbf9a7212497c162a979aa8f6b (diff) | |
download | gnunet-9e0744da3a82cc7b68a9043272044584be98db44.tar.gz gnunet-9e0744da3a82cc7b68a9043272044584be98db44.zip |
-modify NAT API to return error messages about problems detected
Diffstat (limited to 'src/transport/gnunet-transport.c')
-rw-r--r-- | src/transport/gnunet-transport.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transport/gnunet-transport.c b/src/transport/gnunet-transport.c index bb856bd6f..aff4d30aa 100644 --- a/src/transport/gnunet-transport.c +++ b/src/transport/gnunet-transport.c | |||
@@ -371,9 +371,12 @@ display_test_result (struct TestContext *tc, int result) | |||
371 | * | 371 | * |
372 | * @param cls test context | 372 | * @param cls test context |
373 | * @param success currently always #GNUNET_OK | 373 | * @param success currently always #GNUNET_OK |
374 | * @param emsg error message, NULL on success | ||
374 | */ | 375 | */ |
375 | static void | 376 | static void |
376 | result_callback (void *cls, int success) | 377 | result_callback (void *cls, |
378 | int success, | ||
379 | const char *emsg) | ||
377 | { | 380 | { |
378 | struct TestContext *tc = cls; | 381 | struct TestContext *tc = cls; |
379 | 382 | ||