Commit 8ca57386 authored by Michael Jerris's avatar Michael Jerris

sdp_print.c: build errors fix

Ignore-this: 95853743042dde49f0854f798f7df462

darcs-hash:20090515163144-11237-93cc327842513d5ceed0b1c5de42c47f4a0470b9.gz
parent 07b9c644
......@@ -88,6 +88,7 @@ static struct sdp_printer_s printer_memory_error = {
};
static void print_session(sdp_printer_t *p, sdp_session_t const *session);
static void printing_error(sdp_printer_t *p, const char *fmt, ...);
/** Print a SDP description.
*
......@@ -154,7 +155,7 @@ sdp_printer_t *sdp_print(su_home_t *home,
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 +265,6 @@ static void print_text_list(sdp_printer_t*,
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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment