Hi Ulrich,
On Sunday, February 2, 2014 7:44:50 PM UTC+1, Ulrich Hertlein wrote:
>
> I'm curious, where did you find these magic numbers?
>
> "*2" probably due to UTF-16 but the "+3" seems nonsensical.
>
It makes more sense when you look at the code:
mg_snprintf(cmdline, sizeof(cmdline), "%s%s\"%s\"",
interp ? interp : "", interp ? " " : "", cmd);
interp = C:\app\php\php-cgi.exe
cmd = C:\app\www\index.php
3 = space + quotes
Best regards,
Czarek
--
You received this message because you are subscribed to the Google Groups
"mongoose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mongoose-users.
For more options, visit https://groups.google.com/groups/opt_out.