gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r3311 - GNUnet/src/applications/bootstrap_http


From: grothoff
Subject: [GNUnet-SVN] r3311 - GNUnet/src/applications/bootstrap_http
Date: Thu, 24 Aug 2006 20:11:53 -0700 (PDT)

Author: grothoff
Date: 2006-08-24 20:11:51 -0700 (Thu, 24 Aug 2006)
New Revision: 3311

Modified:
   GNUnet/src/applications/bootstrap_http/http.c
Log:
fix

Modified: GNUnet/src/applications/bootstrap_http/http.c
===================================================================
--- GNUnet/src/applications/bootstrap_http/http.c       2006-08-25 03:05:02 UTC 
(rev 3310)
+++ GNUnet/src/applications/bootstrap_http/http.c       2006-08-25 03:11:51 UTC 
(rev 3311)
@@ -67,8 +67,8 @@
 downloadHostlistHelper(void * ptr,
                       size_t size,
                       size_t nmemb, 
-                      void * stream) {
-  BootstrapContext * bctx = ptr;
+                      void * ctx) {
+  BootstrapContext * bctx = ctx;
   size_t osize;
   size_t total;
   P2P_hello_MESSAGE * helo;
@@ -82,7 +82,7 @@
        bctx->bsize,
        total);
   memcpy(&bctx->buf[osize],
-        stream,
+        ptr,
         size * nmemb);
   while ( (bctx->bsize > sizeof(P2P_hello_MESSAGE)) &&
          (bctx->termTest(bctx->targ)) ) {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]