aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/app_voicemail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 490ecf108..b72d060f9 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -1686,11 +1686,11 @@ static int base_encode(char *filename, FILE *so)
}
}
+ fclose(fi);
+
if (fputs(eol,so)==EOF)
return 0;
- fclose(fi);
-
return 1;
}