Fix a bad return value in ws_addarg()

Fix a bad return value in ws_addarg() when updating a header value,
leading the caller to believe an out of memory condition happened.
This commit is contained in:
Jeremy Kerr 2009-04-02 13:01:19 +02:00 committed by Julien BLACHE
parent 567bd3ee03
commit 7c1752d871

View File

@ -1516,7 +1516,7 @@ int ws_addarg(ARGLIST *root, char *key, char *fmt, ...) {
free(newkey);
free(pnew);
WS_EXIT();
return 0;
return TRUE;
}
current=current->next;
}