From 3f39bf376985a9e87d7c28a986e17dff4727e74c Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 20 Jun 2016 13:03:26 -0700 Subject: SQUASH??? --- builtin/log.c | 4 ++-- builtin/shortlog.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'builtin') diff --git a/builtin/log.c b/builtin/log.c index 5a889d5442..2bfcc43ea3 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -889,8 +889,8 @@ static void print_signature(FILE *file) fprintf(file, "-- \n%s", signature); if (signature[strlen(signature)-1] != '\n') - fputc('\n', file); - fputc('\n', file); + putc('\n', file); + putc('\n', file); } static void add_branch_description(struct strbuf *buf, const char *branch_name) diff --git a/builtin/shortlog.c b/builtin/shortlog.c index 4c68ba7f3c..39d74fe23b 100644 --- a/builtin/shortlog.c +++ b/builtin/shortlog.c @@ -328,7 +328,7 @@ void shortlog_output(struct shortlog *log) else fprintf(log->file, " %s\n", msg); } - fputc('\n', log->file); + putc('\n', log->file); onelines->strdup_strings = 1; string_list_clear(onelines, 0); free(onelines); -- cgit v1.2.1