]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
solaris build tweak.
authorMichael Jerris <mike@jerris.com>
Fri, 15 Dec 2006 15:33:43 +0000 (15:33 +0000)
committerMichael Jerris <mike@jerris.com>
Fri, 15 Dec 2006 15:33:43 +0000 (15:33 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3669 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_rtp.c

index 5d7691c68aa412b109252b69599532fb7739c182..7576929edbeb23a9b6b4f06b14aed3f120414bc6 100644 (file)
@@ -38,6 +38,7 @@
 #undef PACKAGE_BUGREPORT
 #undef VERSION
 #undef PACKAGE
+#undef inline
 #include <datatypes.h>
 #include <srtp.h>
 
@@ -219,7 +220,7 @@ static switch_status_t ice_out(switch_rtp_t *rtp_session)
                        elapsed = (unsigned int)((switch_time_now() - rtp_session->last_stun) / 1000);
 
                        if (elapsed > 30000) {
-                               switch_log_printf(SWITCH_CHANNEL_LOG, 3, "No stun for a long time (PUNT!)\n");
+                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "%s", "No stun for a long time (PUNT!)\n");
                                return SWITCH_STATUS_FALSE;
                        }
                }