summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-04-03 19:02:27 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-04-03 19:02:27 +0200
commit320e76e0deb763f2d5cff8eed39d844619e46cc2 (patch)
treec2246a8c1b2f848f3d89ea298fa518ae96887747 /src/config.l
parentc2e81f00dcf2e1132bcbbcdd1f488ae4e75dd521 (diff)
downloadfastd-320e76e0deb763f2d5cff8eed39d844619e46cc2.tar
fastd-320e76e0deb763f2d5cff8eed39d844619e46cc2.zip
Keep track of peer dirs
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;