[svn-commits] file: branch 1.4 r389 - /branches/1.4/asterisk-ooh323c/src/chan_h323.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Jun 7 05:25:15 MST 2007


Author: file
Date: Thu Jun  7 07:25:14 2007
New Revision: 389

URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=389
Log:
Don't try to use the name of the configuration option as the logfile... instead use the configuration value. (issue #9908 reported by T-80)

Modified:
    branches/1.4/asterisk-ooh323c/src/chan_h323.c

Modified: branches/1.4/asterisk-ooh323c/src/chan_h323.c
URL: http://svn.digium.com/view/asterisk-addons/branches/1.4/asterisk-ooh323c/src/chan_h323.c?view=diff&rev=389&r1=388&r2=389
==============================================================================
--- branches/1.4/asterisk-ooh323c/src/chan_h323.c (original)
+++ branches/1.4/asterisk-ooh323c/src/chan_h323.c Thu Jun  7 07:25:14 2007
@@ -1989,7 +1989,7 @@
          }
       }
       else if (!strcasecmp(v->name, "logfile")) {
-         strncpy(gLogFile, v->name, sizeof(gLogFile)-1);
+         strncpy(gLogFile, v->value, sizeof(gLogFile)-1);
       }
       else if (!strcasecmp(v->name, "context")) {
          strncpy(gContext, v->value, sizeof(gContext)-1);



More information about the svn-commits mailing list