Skip to content
Commit eacd3f35 authored by Eugene Ossintsev's avatar Eugene Ossintsev
Browse files

Inspect POST buffer in mg_get_var() only if first call of get_var() returns -1

In mg_get_var() the first call of get_var() inspects the variables of
the query string. If the requested variable is found but the destination
buffer is too small to hold the variable, return -2 right away. If it's
not found, make the second call of get_var() to inspect the POST buffer.
parent 8a2aa725
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment