Mercurial > pidgin
comparison libpurple/media.c @ 27712:813f2eb3fdc8
Fixes for some potential printf("%s", NULL) type of problems from Maiku
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Tue, 28 Jul 2009 02:30:39 +0000 |
parents | 60aab59fb35a |
children | 584fa66dfb31 |
comparison
equal
deleted
inserted
replaced
27711:c1314a6cefcf | 27712:813f2eb3fdc8 |
---|---|
2727 | 2727 |
2728 if (stream == NULL) { | 2728 if (stream == NULL) { |
2729 purple_debug_error("media", | 2729 purple_debug_error("media", |
2730 "purple_media_add_remote_candidates: " | 2730 "purple_media_add_remote_candidates: " |
2731 "couldn't find stream %s %s.\n", | 2731 "couldn't find stream %s %s.\n", |
2732 sess_id, participant); | 2732 sess_id ? sess_id : "(null)", |
2733 participant ? participant : "(null)"); | |
2733 return; | 2734 return; |
2734 } | 2735 } |
2735 | 2736 |
2736 stream->remote_candidates = g_list_concat(stream->remote_candidates, | 2737 stream->remote_candidates = g_list_concat(stream->remote_candidates, |
2737 purple_media_candidate_list_to_fs(remote_candidates)); | 2738 purple_media_candidate_list_to_fs(remote_candidates)); |