Skip to content

Commit

Permalink
scope: don't display possible binary zeros received from gdb stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
zhekov committed Oct 3, 2015
1 parent f00c480 commit af9a84c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scope/src/debug.c
Expand Up @@ -328,7 +328,7 @@ static void receive_errors_cb(GString *string, GIOCondition condition,
G_GNUC_UNUSED gpointer gdata)
{
if (condition & (G_IO_IN | G_IO_PRI))
dc_output(2, string->str, string->len);
dc_output(2, string->str, -1);
}

static void gdb_finalize(void)
Expand Down

0 comments on commit af9a84c

Please sign in to comment.