equal
deleted
inserted
replaced
234 jingle_send_session_accept(js); |
234 jingle_send_session_accept(js); |
235 } else { |
235 } else { |
236 scr_LogPrint(LPRINT_LOGNORM, "Jingle event from %s cancelled.", |
236 scr_LogPrint(LPRINT_LOGNORM, "Jingle event from %s cancelled.", |
237 js->from); |
237 js->from); |
238 jingle_send_session_terminate(js, "decline"); |
238 jingle_send_session_terminate(js, "decline"); |
|
239 |
239 } |
240 } |
240 |
241 |
241 return FALSE; |
242 return FALSE; |
242 } |
243 } |
243 |
244 |
417 GSource *s = g_main_context_find_source_by_id(NULL, ack_timeout_checker); |
418 GSource *s = g_main_context_find_source_by_id(NULL, ack_timeout_checker); |
418 g_source_destroy(s); |
419 g_source_destroy(s); |
419 } |
420 } |
420 } |
421 } |
421 |
422 |
422 void handle_trans_data(const gchar *xmlns, gconstpointer data, const gchar *data2, guint len) |
423 void handle_trans_data(gconstpointer data, const gchar *data2, guint len) |
423 { |
424 { |
424 SessionContent *sc = session_find_transport(xmlns, data); |
425 SessionContent *sc = session_find_transport(data); |
425 if (sc == NULL) { |
426 if (sc == NULL) { |
426 return; |
427 return; |
427 } |
428 } |
428 sc->appfuncs->handle_data(sc->description, data2, len); |
429 sc->appfuncs->handle_data(sc->description, data2, len); |
429 } |
430 } |