summaryrefslogtreecommitdiff
path: root/subversion/libsvn_subr/subst.c
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/libsvn_subr/subst.c')
-rw-r--r--subversion/libsvn_subr/subst.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/subversion/libsvn_subr/subst.c b/subversion/libsvn_subr/subst.c
index b69f90a..a1213cb 100644
--- a/subversion/libsvn_subr/subst.c
+++ b/subversion/libsvn_subr/subst.c
@@ -210,10 +210,10 @@ keyword_printf(const char *fmt,
break;
case 'D': /* long format of date of this revision */
if (date)
- {
+ {
char *date_keyword;
- char *date_utf8 = svn_time_to_human_cstring (date, pool);
- svn_utf_cstring_from_utf8(&date_keyword, date_utf8, pool);
+ char *date_utf8 = svn_time_to_human_cstring(date, pool);
+ SVN_ERR(svn_utf_cstring_from_utf8(&date_keyword, date_utf8, pool));
svn_stringbuf_appendcstr(value, date_keyword);
}
break;