From 4a48f57bacf748baf1b8632cfe0cbca0ddd8e1c1 Mon Sep 17 00:00:00 2001 From: Thomas Ries Date: Sat, 12 Jun 2004 09:42:45 +0000 Subject: [PATCH] *** empty log message *** --- ChangeLog | 2 +- src/register.c | 2 +- src/utils.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e1efd9e..d3bac3b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,6 @@ 0.5.7 ===== - 11-Jun-2004: - silenced some MSN Messenger provoked WARNings (empty user) + 11-Jun-2004: - silenced some MSN Messenger provoked WARNings 29-May-2004: - "determine next hop" also takes Route header into account (outgoing packets only, incoming can not have a proxy in between siproxd and the client anyway) diff --git a/src/register.c b/src/register.c index 239d5c1..168aa25 100644 --- a/src/register.c +++ b/src/register.c @@ -233,7 +233,7 @@ int register_client(osip_message_t *my_msg, int force_lcl_masq) { expires=atoi(expires_hdr->hvalue); } else { /* it seems, the expires field is not present everywhere... */ - WARN("no 'expires' header found - set time to 600 sec"); + DEBUGC(DBCLASS_REG,"no 'expires' header found - set time to 600 sec"); expires=600; osip_message_set_expires(my_msg, "600"); } diff --git a/src/utils.c b/src/utils.c index 34324c5..e647d45 100644 --- a/src/utils.c +++ b/src/utils.c @@ -127,7 +127,7 @@ int get_ip_by_host(char *hostname, struct in_addr *addr) { &result_buffer, /* the result buffer */ &hostentry ); - if (hostentry == NULL) my_error = h_errno; + if (hostentry == NULL) error = h_errno; /* gethostbyname_r() with 5 arguments (e.g. solaris, linux libc5) */ #elif defined(HAVE_FUNC_GETHOSTBYNAME_R_5)