fflush file (for stdout)

This commit is contained in:
Kelvin Sherlock 2014-09-11 15:31:34 -04:00
parent f1be63acb3
commit 8602e64314
1 changed files with 1 additions and 0 deletions

1
smb.c
View File

@ -1285,6 +1285,7 @@ int do_smb(char *url, URLComponents *components)
CloseLoop(&connection);
fflush(file);
if (file != stdout) fclose(file);
return 0;