[asterisk-commits] moy: branch moy/mfcr2-1.2 r157238 - /team/moy/mfcr2-1.2/channels/chan_zap.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Nov 16 20:45:09 CST 2008
Author: moy
Date: Sun Nov 16 20:45:08 2008
New Revision: 157238
URL: http://svn.digium.com/view/asterisk?view=rev&rev=157238
Log:
updated code to use of OR2_MAX_PATH
Modified:
team/moy/mfcr2-1.2/channels/chan_zap.c
Modified: team/moy/mfcr2-1.2/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/team/moy/mfcr2-1.2/channels/chan_zap.c?view=diff&rev=157238&r1=157237&r2=157238
==============================================================================
--- team/moy/mfcr2-1.2/channels/chan_zap.c (original)
+++ team/moy/mfcr2-1.2/channels/chan_zap.c Sun Nov 16 20:45:08 2008
@@ -385,8 +385,8 @@
static int mfcr2_cur_forced_release = 0;
static int mfcr2_cur_double_answer = 0;
static int mfcr2_cur_immediate_accept = -1;
-static char mfcr2_cur_logdir[OR2_MAX_LOGDIR];
-static char mfcr2_cur_r2proto_file[OR2_MAX_LOGDIR];
+static char mfcr2_cur_logdir[OR2_MAX_PATH];
+static char mfcr2_cur_r2proto_file[OR2_MAX_PATH];
static openr2_log_level_t mfcr2_cur_loglevel = OR2_LOG_ERROR | OR2_LOG_WARNING;
static openr2_calling_party_category_t mfcr2_cur_category = OR2_CALLING_PARTY_CATEGORY_NATIONAL_SUBSCRIBER;
@@ -7549,7 +7549,7 @@
#endif
#ifdef HAVE_OPENR2
if (chan_conf.signalling == SIG_MFCR2 && !reloading) {
- char logdir[OR2_MAX_LOGDIR];
+ char logdir[OR2_MAX_PATH];
struct zt_mfcr2 *zap_r2;
int threshold = 0;
int snres = 0;
@@ -10618,7 +10618,7 @@
#endif
#ifdef HAVE_OPENR2
if (tmp->mfcr2) {
- char calldir[OR2_MAX_LOGDIR];
+ char calldir[OR2_MAX_PATH];
openr2_context_t *r2context = openr2_chan_get_context(tmp->r2chan);
openr2_variant_t r2variant = openr2_context_get_variant(r2context);
ast_cli(fd, "MFC/R2 MF State: %s\n", openr2_proto_get_mf_state_string(tmp->r2chan));
More information about the asterisk-commits
mailing list