Fixed possible error with multi-line parameters.

This commit is contained in:
Markus Makela 2015-09-01 21:22:47 +03:00
parent 77a49e8cbd
commit b66dfaa8ec

View File

@ -236,7 +236,7 @@ CONFIG_PARAMETER *param, *p1;
skygw_log_write(LE,"[%s] Error: Memory allocation failed.",__FUNCTION__);
return 0;
}
strcat(tmp,",");
strcat(tmp,value);
if((p1->value = config_clean_string_list(tmp)) == NULL)
{