[Freeswitch-svn] [commit] r13355 - freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sdp

FreeSWITCH SVN mikej at freeswitch.org
Fri May 15 09:27:26 PDT 2009


Author: mikej
Date: Fri May 15 11:27:26 2009
New Revision: 13355

Log:
fix typos

Modified:
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sdp/sdp_print.c

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sdp/sdp_print.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sdp/sdp_print.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sdp/sdp_print.c	Fri May 15 11:27:26 2009
@@ -87,6 +87,8 @@
   sizeof(printer_memory_error.pr_buffer)
 };
 
+static void printing_error(sdp_printer_t *p, const char *fmt, ...);
+
 static void print_session(sdp_printer_t *p, sdp_session_t const *session);
 
 /** Print a SDP description.
@@ -154,7 +156,7 @@
     p->pr_mode_manual = (flags & sdp_f_mode_manual) != 0;
     p->pr_mode_always = (flags & sdp_f_mode_always) != 0;
 
-    if (sdp)
+    if (session)
       print_session(p, session);
     else
       printing_error(p, "NULL session description");
@@ -264,7 +266,6 @@
 			    const char *, sdp_list_t const *l);
 
 static void sdp_printf(sdp_printer_t *p, const char *fmt, ...);
-static void printing_error(sdp_printer_t *p, const char *fmt, ...);
 
 static void print_session(sdp_printer_t *p, sdp_session_t const *sdp)
 {



More information about the Freeswitch-svn mailing list