about summary refs log tree commit diff stats
path: root/ui-snapshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-snapshot.c')
-rw-r--r--ui-snapshot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui-snapshot.c b/ui-snapshot.c index 18361a6..2801393 100644 --- a/ui-snapshot.c +++ b/ui-snapshot.c
@@ -37,6 +37,9 @@ static int write_archive_type(const char *format, const char *hex, const char *p
37 /* strvec guarantees a trailing NULL entry. */ 37 /* strvec guarantees a trailing NULL entry. */
38 memcpy(nargv, argv.v, sizeof(char *) * (argv.nr + 1)); 38 memcpy(nargv, argv.v, sizeof(char *) * (argv.nr + 1));
39 39
40 if (fflush(stdout))
41 return errno;
42
40 result = write_archive(argv.nr, nargv, NULL, the_repository, NULL, 0); 43 result = write_archive(argv.nr, nargv, NULL, the_repository, NULL, 0);
41 strvec_clear(&argv); 44 strvec_clear(&argv);
42 free(nargv); 45 free(nargv);