diff --git a/modules/control/http/macro.c b/modules/control/http/macro.c index c515ea764d4944ca6e406f53d5b1042e195de638..a901be0b7e0c3c5756b7916ddb2a283708e940ed 100644 --- a/modules/control/http/macro.c +++ b/modules/control/http/macro.c @@ -150,7 +150,7 @@ void E_(MacroDo)( httpd_file_sys_t *p_args, } #define PRINT( str ) \ ALLOC( strlen( str ) + 1 ); \ - *pp_dst += sprintf( *pp_dst, str ); + *pp_dst += sprintf( *pp_dst, "%s", str ); #define PRINTS( str, s ) \ ALLOC( strlen( str ) + strlen( s ) + 1 ); \