[asterisk-commits] pcadach: branch pcadach/chan_h323-live r43092 - /team/pcadach/chan_h323-live/...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Sep 17 09:52:47 MST 2006


Author: pcadach
Date: Sun Sep 17 11:52:46 2006
New Revision: 43092

URL: http://svn.digium.com/view/asterisk?rev=43092&view=rev
Log:
Find peers by name too (p is NULL because unreferenced by ASTOBJ_UNREF())

Modified:
    team/pcadach/chan_h323-live/channels/chan_h323.c

Modified: team/pcadach/chan_h323-live/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/channels/chan_h323.c?rev=43092&r1=43091&r2=43092&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/chan_h323.c (original)
+++ team/pcadach/chan_h323-live/channels/chan_h323.c Sun Sep 17 11:52:46 2006
@@ -1669,7 +1669,7 @@
 			ast_log(LOG_WARNING, "No such host: %s\n", peer);
 			return -1;
 		}
-	} else if (!p) {
+	} else if (!found) {
 		return -1;
 	} else {	
 		return 0;



More information about the asterisk-commits mailing list