From: Alexandr Anikin Date: Thu, 9 Aug 2012 18:05:34 +0000 (+0000) Subject: change opening h323 logfile with append mode instead of overwrite X-Git-Tag: 10.9.0-rc1~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6606ba3b5a537aab3b8cfd6adc363a200be2ccf7;p=thirdparty%2Fasterisk.git change opening h323 logfile with append mode instead of overwrite ........ Merged revisions 370988 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@370989 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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",