make really loud unable to communicate with peerinfo messages go away
[oweals/gnunet.git] / src / nat / upnp-commands.c
index d9962117d5a79cd78b4bfdde38ba7f14de5ebd5b..2a88f90f4be268f4d8e5d7afb2eb02c5142ebf49 100644 (file)
@@ -180,7 +180,7 @@ get_content_len_from_line (const char *p, int n)
  * @param p HTML to parse
  * @param n size of p
  * @param content_len pointer to store content length to
- * @param content_len pointer to store header length to
+ * @param header_len pointer to store header length to
  */
 static void
 get_content_and_header_len (const char *p, int n,
@@ -227,7 +227,7 @@ get_content_and_header_len (const char *p, int n,
  * @param available number of bytes in buf
  * @param addr address of the sender
  * @param addrlen size of addr
- * @errCode value of errno
+ * @param errCode value of errno
  */
 static void
 UPNP_command_receiver (void *data,
@@ -320,12 +320,12 @@ parse_url (const char *url, char *hostname, unsigned short *port, char **path)
 
   if (!p2 || (p2 > p3))
     {
-      strncpy (hostname, p1, MIN (MAX_HOSTNAME_LEN, (int) (p3 - p1)));
+      strncpy (hostname, p1, GNUNET_MIN (MAX_HOSTNAME_LEN, (int) (p3 - p1)));
       *port = 80;
     }
   else
     {
-      strncpy (hostname, p1, MIN (MAX_HOSTNAME_LEN, (int) (p2 - p1)));
+      strncpy (hostname, p1, GNUNET_MIN (MAX_HOSTNAME_LEN, (int) (p2 - p1)));
       *port = 0;
       p2++;
 
@@ -348,6 +348,8 @@ parse_url (const char *url, char *hostname, unsigned short *port, char **path)
  * @param service type of the service corresponding to the command
  * @param action action to send
  * @param args arguments for action
+ * @param buffer buffer
+ * @param buf_size buffer size
  * @param caller_cb user callback to trigger when done
  * @param caller_cls closure to pass to caller_cb
  */