libs/web: remove leftover debugging code in template_parser.c

This commit is contained in:
Jo-Philipp Wich 2012-11-25 19:18:15 +00:00
parent bb276a7c7b
commit cd0bb63394

View file

@ -350,8 +350,6 @@ int template_error(lua_State *L, struct template_parser *parser)
int line = 0; int line = 0;
int chunkline = 0; int chunkline = 0;
fprintf(stderr, "E[%s]\n", err);
if ((ptr = strfind((char *)err, strlen(err), "]:", 2)) != NULL) if ((ptr = strfind((char *)err, strlen(err), "]:", 2)) != NULL)
{ {
chunkline = atoi(ptr + 2) - parser->prv_chunk.line; chunkline = atoi(ptr + 2) - parser->prv_chunk.line;