aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-11 03:57:25 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-11 03:57:25 +0000
commitfbf95cfb9fb1f0560414fae338586ddc4d5ce496 (patch)
treeb2cfc44abeaf3405df92aba7d48f359c58274d03
parent415a1bce6f732fefa9dce98dcf452765fee754b3 (diff)
more debug
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@820 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xchannels/h323/chan_h323.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/channels/h323/chan_h323.c b/channels/h323/chan_h323.c
index 0f868029f..5982083dc 100755
--- a/channels/h323/chan_h323.c
+++ b/channels/h323/chan_h323.c
@@ -958,7 +958,7 @@ int setup_incoming_call(call_details_t cd)
if (user->host) {
if (strcasecmp(cd.sourceIp, inet_ntoa(user->addr.sin_addr))){
ast_log(LOG_ERROR, "Call from user '%s' rejected due to non-matching IP address of '%s'\n", user->name, cd.sourceIp);
- return 0;
+ return 0;
}
}
if (user->incominglimit > 0) {
@@ -983,9 +983,9 @@ int setup_incoming_call(call_details_t cd)
if (strlen(user->accountcode)) {
strncpy(p->accountcode, user->accountcode, sizeof(p->accountcode)-1);
- printf("ACCOUNT CODE: %s", p->accountcode);
+ printf("ACCOUNT CODE: %s\n", p->accountcode);
} else {
- printf("NO ACCOUNT CODE IN USERS");
+ printf("NO ACCOUNT CODE IN USERS\n");
}
/* Increment the usage counter */