From ec6801aa0d1b40141334fe775ea0c55218e91816 Mon Sep 17 00:00:00 2001 From: Alexandr Anikin Date: Thu, 9 Aug 2012 18:02:01 +0000 Subject: [PATCH] change opening h323 logfile with append mode instead of overwrite git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@370988 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- addons/ooh323c/src/ooh323ep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/ooh323c/src/ooh323ep.c b/addons/ooh323c/src/ooh323ep.c index 1d5d9579ed..5f45f2473d 100644 --- a/addons/ooh323c/src/ooh323ep.c +++ b/addons/ooh323c/src/ooh323ep.c @@ -56,7 +56,7 @@ int ooH323EpInitialize strcpy(gH323ep.traceFile, DEFAULT_TRACEFILE); } - gH323ep.fptraceFile = fopen(gH323ep.traceFile, "w"); + gH323ep.fptraceFile = fopen(gH323ep.traceFile, "a"); if(gH323ep.fptraceFile == NULL) { printf("Error:Failed to open trace file %s for write.\n", -- 2.47.3