* @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,
* @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,
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++;
* @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
*/