change opening h323 logfile with append mode instead of overwrite
authorAlexandr Anikin <may@telecom-service.ru>
Thu, 9 Aug 2012 18:28:15 +0000 (18:28 +0000)
committerAlexandr Anikin <may@telecom-service.ru>
Thu, 9 Aug 2012 18:28:15 +0000 (18:28 +0000)
........

Merged revisions 370988 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 370989 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@371010 65c4cc65-6c06-0410-ace0-fbb531ad65f3

addons/ooh323c/src/ooh323ep.c

index 868d31a..92e6a24 100644 (file)
@@ -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",