(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Thu, 23 Dec 2010 08:18:49 +0000 (08:18 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Thu, 23 Dec 2010 08:18:49 +0000 (08:18 +0000)
src/transport/plugin_transport_http.c
src/transport/plugin_transport_wlan.c

index 8d6801ce72fb5df1e2f8f4223c53978e3582edbc..f879012c92b25ec74c45f489e6dfb57f8e9a0a64 100644 (file)
@@ -512,18 +512,18 @@ static void http_server_daemon_v6_run (void *cls, const struct GNUNET_SCHEDULER_
 
 /**
  * Function setting up curl handle and selecting message to send
+ *
  * @param plugin plugin
- * @param ses session to send data to
- * @param con connection
- * @return bytes sent to peer
+ * @param ps session
+ * @return GNUNET_SYSERR on failure, GNUNET_NO if connecting, GNUNET_YES if ok
  */
 static int send_check_connections (struct Plugin *plugin, struct Session *ps);
 
 /**
  * Function setting up file descriptors and scheduling task to run
- * @param cls closure
- * @param ses session to send data to
- * @param
+ *
+ * @param  plugin plugin as closure
+ * @return GNUNET_SYSERR for hard failure, GNUNET_OK for ok
  */
 static int curl_schedule (struct Plugin *plugin);
 
@@ -1818,7 +1818,7 @@ static void curl_perform (void *cls,
 /**
  * Function setting up file descriptors and scheduling task to run
  *
- * @param plugin plugin as closure
+ * @param  plugin plugin as closure
  * @return GNUNET_SYSERR for hard failure, GNUNET_OK for ok
  */
 static int curl_schedule(struct Plugin *plugin)
index aaa11b80a5c57007858fd063c923e42fdcc7536b..3af63f5c54e67f9ac568f04d45bbc2adac328409 100644 (file)
@@ -1725,7 +1725,6 @@ wlan_data_helper(void *cls, void * client, const struct GNUNET_MessageHeader * h
         distance[0].value = htonl (1);
         distance[1].type = htonl (GNUNET_TRANSPORT_ATS_ARRAY_TERMINATOR);
         distance[1].value = htonl (0);
-
         plugin->env->receive(plugin, &session->target,
              temp_hdr, (const struct GNUNET_TRANSPORT_ATS_Information *) &distance, 2,
              session, session->addr, sizeof(session->addr));
@@ -2010,7 +2009,7 @@ wlan_transport_start_wlan_helper(struct Plugin *plugin, int testmode)
   /* Start the server process */
 
   plugin->server_proc = GNUNET_OS_start_process(plugin->server_stdin,
-                 plugin->server_stdout, filename, plugin->interface, ((testmode==1)?"1":"0"), NULL);
+                 plugin->server_stdout, filename,filename, plugin->interface, ((testmode==1)?"1":"0"), NULL);
   if (plugin->server_proc == NULL)
     {
 #if DEBUG_wlan