|
From: | silvioprog |
Subject: | Re: [libmicrohttpd] Typo?: MHD_SUPPRESS_DATE_NO_CLOCK and MHD_NO_FLAG |
Date: | Fri, 3 Feb 2017 12:32:51 -0300 |
On 01/31/2017 05:59 PM, silvioprog wrote:
> Complementing:
>
> $ cat /usr/local/include/microhttpd.h | grep 'MHD_VERSION' You should not. That's not what this is meant for, and it might not
> #define MHD_VERSION 0x00095102
>
> How to convert 0x00095102 version in human readable returning something
> like 0.9.52?
>
work. The only strict assurance we give is that it will be
monotonically increasing, so you can use it in your code to test whether
a particular MHD header is in the right range.
If you absolutely need to printf the result, I suggest you just use %8X.
[Prev in Thread] | Current Thread | [Next in Thread] |