removed a space when appending extra items to an environment variable for cgi
This commit is contained in:
parent
bd64702fd4
commit
743196e796
@ -150,7 +150,7 @@ static int cgi_capture_client_header (
|
|||||||
/* append values with the same key */
|
/* append values with the same key */
|
||||||
while ((val = val->next))
|
while ((val = val->next))
|
||||||
{
|
{
|
||||||
if (qse_env_appendmbs (hdrctx->env, QSE_MT(", ")) <= -1 ||
|
if (qse_env_appendmbs (hdrctx->env, QSE_MT(",")) <= -1 ||
|
||||||
qse_env_appendmbs (hdrctx->env, val->ptr) <= -1)
|
qse_env_appendmbs (hdrctx->env, val->ptr) <= -1)
|
||||||
{
|
{
|
||||||
hdrctx->httpd->errnum = QSE_HTTPD_ENOMEM;
|
hdrctx->httpd->errnum = QSE_HTTPD_ENOMEM;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user