From 18fef6deb1a1258e60b601d2396f498b92181295 Mon Sep 17 00:00:00 2001 From: James Golovich Date: Fri, 18 Jun 2004 16:23:56 +0000 Subject: [PATCH] Formatting fix git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3242 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 1e60893966..1761f91339 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -518,7 +518,8 @@ static int sip_do_reload(void); /*--- sip_debug_test_addr: See if we pass debug IP filter */ -static inline int sip_debug_test_addr(struct sockaddr_in *addr) { +static inline int sip_debug_test_addr(struct sockaddr_in *addr) +{ if (sipdebug == 0) return 0; if (debugaddr.sin_addr.s_addr) { @@ -530,7 +531,8 @@ static inline int sip_debug_test_addr(struct sockaddr_in *addr) { return 1; } -static inline int sip_debug_test_pvt(struct sip_pvt *p) { +static inline int sip_debug_test_pvt(struct sip_pvt *p) +{ if (sipdebug == 0) return 0; return sip_debug_test_addr((p->nat ? &p->recv : &p->sa));