Author: grothoff Date: 2008-02-11 21:51:41 -0700 (Mon, 11 Feb 2008) New Revision: 6258
Modified: GNUnet/src/applications/fs/lib/fslib.c Log: check Modified: GNUnet/src/applications/fs/lib/fslib.c =================================================================== --- GNUnet/src/applications/fs/lib/fslib.c 2008-02-12 04:51:28 UTC (rev 6257) +++ GNUnet/src/applications/fs/lib/fslib.c 2008-02-12 04:51:41 UTC (rev 6258) @@ -343,6 +343,7 @@ { struct GNUNET_FS_SearchHandle *ret; CS_fs_request_search_MESSAGE *req; + int ok; #if DEBUG_FSLIB GNUNET_EncName enc; #endif @@ -380,9 +381,9 @@ ctx->total_requested++, type); #endif - GNUNET_client_connection_write (ctx->sock, &req->header); + ok = GNUNET_client_connection_write (ctx->sock, &req->header); GNUNET_mutex_unlock (ctx->lock); - return GNUNET_OK; + return ok; } /** _______________________________________________ GNUnet-SVN mailing list GNUnet-SVN@gnu.org http://lists.gnu.org/mailman/listinfo/gnunet-svn