summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/commandline/simple-call-shm.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/commandline/simple-call-shm.c b/examples/commandline/simple-call-shm.c
index 5d4ac2d3..4dec7061 100644
--- a/examples/commandline/simple-call-shm.c
+++ b/examples/commandline/simple-call-shm.c
@@ -205,17 +205,14 @@ async_bus_cb (GstBus *bus, GstMessage *message, gpointer user_data)
{
gint error;
const gchar *error_msg = gst_structure_get_string (s, "error-msg");
- const gchar *debug_msg = gst_structure_get_string (s, "debug-msg");
g_assert (gst_structure_get_enum (s, "error-no", FS_TYPE_ERROR,
&error));
if (FS_ERROR_IS_FATAL (error))
- g_error ("Farstream fatal error: %d %s %s", error, error_msg,
- debug_msg);
+ g_error ("Farstream fatal error: %d %s", error, error_msg)
else
- g_warning ("Farstream non-fatal error: %d %s %s", error, error_msg,
- debug_msg);
+ g_warning ("Farstream non-fatal error: %d %s", error, error_msg);
}
else if (gst_structure_has_name (s, "farstream-new-local-candidate"))
{