(no commit message)
[oweals/gnunet.git] / src / transport / transport_api_address_lookup.c
index cd2e735843e9a6347277acf10fff0cd91607a0b2..da723d71cbb8c29d8d4c14bc69f9be1e352f6761 100644 (file)
@@ -4,7 +4,7 @@
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
-     by the Free Software Foundation; either version 2, or (at your
+     by the Free Software Foundation; either version 3, or (at your
      option) any later version.
 
      GNUnet is distributed in the hope that it will be useful, but
@@ -167,12 +167,13 @@ GNUNET_TRANSPORT_address_lookup (struct GNUNET_SCHEDULER_Handle *sched,
   aluCB->cb_cls = aluc_cls;
   aluCB->timeout = abs_timeout;
   aluCB->client = client;
-  GNUNET_CLIENT_transmit_and_get_response (client, 
-                                          &msg->header, 
-                                          timeout,
-                                           GNUNET_YES,
-                                           &address_response_processor,
-                                           aluCB);
+  GNUNET_assert (GNUNET_OK ==
+                GNUNET_CLIENT_transmit_and_get_response (client, 
+                                                         &msg->header, 
+                                                         timeout,
+                                                         GNUNET_YES,
+                                                         &address_response_processor,
+                                                         aluCB));
   GNUNET_free (msg);
 }