diff options
Diffstat (limited to 'walker.c')
-rw-r--r-- | walker.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -286,8 +286,7 @@ int walker_fetch(struct walker *walker, int targets, char **target, goto done; } if (write_ref_log_details) { - msg = xmalloc(strlen(write_ref_log_details) + 12); - sprintf(msg, "fetch from %s", write_ref_log_details); + msg = xstrfmt("fetch from %s", write_ref_log_details); } else { msg = NULL; } |