From 8e280ab712912b526a44021cd84915a491e80faa Mon Sep 17 00:00:00 2001 From: Jeremy McNamara Date: Wed, 14 May 2003 04:39:15 +0000 Subject: [PATCH] try to kill another possible seg git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1015 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/h323/ast_h323.cpp | 2 -- channels/h323/chan_h323.c | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp index 51469087b3..501cdb51bf 100755 --- a/channels/h323/ast_h323.cpp +++ b/channels/h323/ast_h323.cpp @@ -879,8 +879,6 @@ int h323_set_gk(int gatekeeper_discover, char *gatekeeper, char *secret) PString gkName = PString(gatekeeper); PString pass = PString(secret); - cout << "begining" << endl; - if (!end_point_exist()) { cout << "ERROR: [h323_set_gk] No Endpoint, this is bad!" << endl; return 1; diff --git a/channels/h323/chan_h323.c b/channels/h323/chan_h323.c index d8c5bec709..9227d94bcf 100755 --- a/channels/h323/chan_h323.c +++ b/channels/h323/chan_h323.c @@ -1645,7 +1645,7 @@ int load_module() /* start the h.323 listener */ if (h323_start_listener(port, bindaddr, jitter)) { ast_log(LOG_ERROR, "Unable to create H323 listener.\n"); - h323_end_process(); +// h323_end_process(); return -1; } @@ -1653,7 +1653,7 @@ int load_module() if (gatekeeper_disable == 0) { if (h323_set_gk(gatekeeper_discover, gatekeeper, secret)) { ast_log(LOG_ERROR, "Gatekeeper registration failed.\n"); - h323_end_process(); +// h323_end_process(); return -1; } }