fix
authorChristian Grothoff <christian@grothoff.org>
Wed, 20 Oct 2010 13:05:34 +0000 (13:05 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 20 Oct 2010 13:05:34 +0000 (13:05 +0000)
src/util/gnunet-service-resolver.c

index 306cf9cecfc77db5177ce7bb4dd306b35ca4d0fc..19dd6360a20ff48b6b6cec9bc26a2140f330af4e 100644 (file)
@@ -282,8 +282,8 @@ getaddrinfo_resolve (struct GNUNET_SERVER_TransmitContext *tc,
   while (pos != NULL)
     {
       GNUNET_SERVER_transmit_context_append_data (tc,
-                                                 result->ai_addr,
-                                                 result->ai_addrlen,
+                                                 pos->ai_addr,
+                                                 pos->ai_addrlen,
                                                  GNUNET_MESSAGE_TYPE_RESOLVER_RESPONSE);
       pos = pos->ai_next;
     }