Commit 28dd999c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix crash from 36e833c3

parent aa765201
......@@ -609,7 +609,7 @@ int HandlerCallback( httpd_handler_sys_t *p_args,
TAB_APPEND( i_env, ppsz_env, psz_tmp );
}
asprintf( psz_tmp, "SCRIPT_NAME=%s", p_url );
asprintf( &psz_tmp, "SCRIPT_NAME=%s", p_url );
TAB_APPEND( i_env, ppsz_env, psz_tmp );
#define p_sys p_args->file.p_intf->p_sys
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment