[svn-commits] mmichelson: branch 1.2 r633 - /branches/1.2/asterisk-ooh323c/src/chan_h323.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Jun 4 17:12:34 CDT 2008
Author: mmichelson
Date: Wed Jun 4 17:12:34 2008
New Revision: 633
URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=633
Log:
Moving a line to inside the if (utype) block as pointed out by
Tony Mountifield on the asterisk-dev list. Thanks Tony!
Modified:
branches/1.2/asterisk-ooh323c/src/chan_h323.c
Modified: branches/1.2/asterisk-ooh323c/src/chan_h323.c
URL: http://svn.digium.com/view/asterisk-addons/branches/1.2/asterisk-ooh323c/src/chan_h323.c?view=diff&rev=633&r1=632&r2=633
==============================================================================
--- branches/1.2/asterisk-ooh323c/src/chan_h323.c (original)
+++ branches/1.2/asterisk-ooh323c/src/chan_h323.c Wed Jun 4 17:12:34 2008
@@ -1887,7 +1887,6 @@
ooconfig.mTCPPortStart = 12030;
ooconfig.mTCPPortEnd = 12230;
- ast_log(LOG_NOTICE, "Check 1\n");
v = ast_variable_browse(cfg, "general");
while(v) {
@@ -2077,9 +2076,9 @@
{
int friend_type;
utype = ast_variable_retrieve(cfg, cat, "type");
- friend_type = strcasecmp(utype, "friend");
if(utype)
{
+ friend_type = strcasecmp(utype, "friend");
if(!strcmp(utype, "user") || 0 == friend_type)
{
user = build_user(cat, ast_variable_browse(cfg, cat));
More information about the svn-commits
mailing list