diff options
author | Filippo Della Betta <filippo.dellabetta@telecomitalia.it> | 2012-02-15 12:02:13 +0100 |
---|---|---|
committer | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2012-02-15 16:19:07 -0500 |
commit | e3b023a88718979b74a68b55c612ee1e80c52efe (patch) | |
tree | 87bbeea3de01a9144ab0cd968057cc7e0c9fd207 /tests/test-fallback.c | |
parent | 1687711aae0f4cb63a78ed93e73d169099c82248 (diff) | |
download | libnice-e3b023a88718979b74a68b55c612ee1e80c52efe.tar.gz |
Replaced __func__ macro with G_STRFUNC in the unit tests
Diffstat (limited to 'tests/test-fallback.c')
-rw-r--r-- | tests/test-fallback.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-fallback.c b/tests/test-fallback.c index 5c5b3b6..990d380 100644 --- a/tests/test-fallback.c +++ b/tests/test-fallback.c @@ -126,7 +126,7 @@ static void cb_candidate_gathering_done(NiceAgent *agent, guint stream_id, gpoin static void cb_component_state_changed (NiceAgent *agent, guint stream_id, guint component_id, guint state, gpointer data) { - g_debug ("test-fallback:%s: %p", __func__, data); + g_debug ("test-fallback:%s: %p", G_STRFUNC, data); if ((intptr_t)data == 1) global_lagent_state = state; @@ -159,7 +159,7 @@ static void cb_component_state_changed (NiceAgent *agent, guint stream_id, guint static void cb_new_selected_pair(NiceAgent *agent, guint stream_id, guint component_id, gchar *lfoundation, gchar* rfoundation, gpointer data) { - g_debug ("test-fallback:%s: %p", __func__, data); + g_debug ("test-fallback:%s: %p", G_STRFUNC, data); if ((intptr_t)data == 1) ++global_lagent_cands; @@ -173,7 +173,7 @@ static void cb_new_selected_pair(NiceAgent *agent, guint stream_id, guint compon static void cb_new_candidate(NiceAgent *agent, guint stream_id, guint component_id, gchar *foundation, gpointer data) { - g_debug ("test-fallback:%s: %p", __func__, data); + g_debug ("test-fallback:%s: %p", G_STRFUNC, data); /* XXX: dear compiler, these are for you: */ (void)agent; (void)stream_id; (void)data; (void)component_id; (void)foundation; @@ -181,7 +181,7 @@ static void cb_new_candidate(NiceAgent *agent, guint stream_id, guint component_ static void cb_initial_binding_request_received(NiceAgent *agent, guint stream_id, gpointer data) { - g_debug ("test-fallback:%s: %p", __func__, data); + g_debug ("test-fallback:%s: %p", G_STRFUNC, data); if ((intptr_t)data == 1) global_lagent_ibr_received = TRUE; |