summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.l')
-rw-r--r--src/config.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.l b/src/config.l
index 546bd8d..49c0117 100644
--- a/src/config.l
+++ b/src/config.l
@@ -116,7 +116,7 @@ no { UPDATE_LOCATION; return TOK_NO; }
yytext[i-esc] = yytext[i];
}
yytext[yyleng-esc-1] = 0;
- yylval->str = fastd_config_str_dup(yytext);
+ yylval->str = fastd_string_stack_dup(yytext);
BEGIN(INITIAL);
yylloc->last_column++;
return TOK_STRING;