[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] minor issue in postprocessor.c
From: |
Christian Grothoff |
Subject: |
Re: [libmicrohttpd] minor issue in postprocessor.c |
Date: |
Sun, 8 Nov 2009 13:03:43 +0100 |
User-agent: |
KMail/1.12.2 (Linux/2.6.31-14-generic; KDE/4.3.2; i686; ; ) |
Yes, you are absolutely right. Fixed in SVN 9415. -Christian
On Sunday 08 November 2009 11:34:10 am Jon Nalley wrote:
> Hi,
>
> I believe I may have found a small bug in postprocessor.c.
>
> --- begin excerpt @ line 266 postprocessor.c ---
> if (0 != strncasecmp (MHD_HTTP_POST_ENCODING_FORM_URLENCODED, encoding,
> strlen (MHD_HTTP_POST_ENCODING_MULTIPART_FORMDATA)))
> --- end excerpt ---
>
> Shouldn't it be strlen(MHD_HTTP_POST_ENCODING_FORM_URLENCODED) ???
>
> Regards,
>
> Jon Nalley
>