]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
change opening h323 logfile with append mode instead of overwrite
authorAlexandr Anikin <may@telecom-service.ru>
Thu, 9 Aug 2012 18:05:34 +0000 (18:05 +0000)
committerAlexandr Anikin <may@telecom-service.ru>
Thu, 9 Aug 2012 18:05:34 +0000 (18:05 +0000)
........

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

addons/ooh323c/src/ooh323ep.c

index 1d5d9579ed87f88ba1fa071dbd01b4fe638bb7e8..5f45f2473d662a87f38414b8e600d03b17032974 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",