summaryrefslogtreecommitdiffabout
path: root/src/meta.c
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-11 21:05:00 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-05-11 21:05:00 (GMT)
commitf569a6f2628b9ddef4dfb4424aff2dad644a8f19 (patch) (unidiff)
tree6d6e5b03bc97198c2002703591fe5e751978130c /src/meta.c
parent590e208c40797206fd6a93651fc59e0b68eeb545 (diff)
downloadwydawca-f569a6f2628b9ddef4dfb4424aff2dad644a8f19.tar.gz
wydawca-f569a6f2628b9ddef4dfb4424aff2dad644a8f19.tar.bz2
Improve the txtacc interface.
Diffstat (limited to 'src/meta.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/meta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meta.c b/src/meta.c
index 61dc334..059fe6e 100644
--- a/src/meta.c
+++ b/src/meta.c
@@ -133,7 +133,7 @@ meta_expand_string (const char *string, struct metadef *def, void *data,
133 txtacc_grow (acc, p, 1); 133 txtacc_grow (acc, p, 1);
134 } 134 }
135 txtacc_1grow (acc, 0); 135 txtacc_1grow (acc, 0);
136 res = xstrdup (txtacc_finish (acc)); 136 res = txtacc_finish (acc, 1);
137 txtacc_free (acc); 137 txtacc_free (acc);
138 return res; 138 return res;
139} 139}

Return to:

Send suggestions and report system problems to the System administrator.