Commit 780588fa authored by Felipe Borges's avatar Felipe Borges 👣

frdp-display: Don't try to access unset error message

We should set the GError before we try to print it.
parent 4aa7bdac
......@@ -188,7 +188,7 @@ frdp_display_open_host_cb (GObject *source_object,
} else {
g_signal_emit (self, signals[RDP_DISCONNECTED], 0);
g_debug ("Connection failed: %s", error->message);
g_debug ("Connection failed");
frdp_display_close (self);
}
......
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