diff options
author | dusanx <ef_dva@yahoo.com> | 2009-05-02 00:35:15 +0200 |
---|---|---|
committer | dusanx <ef_dva@yahoo.com> | 2009-05-02 00:35:15 +0200 |
commit | 6214561e45bcc3c6408f9fc70c4c7f648e7f3152 (patch) | |
tree | f7d593114ccc1f8114ab61c144ed9a4bc60cf2d2 /uzbl.c | |
parent | e7fd7880c0c51281370c3d4ca5dd7407b01aca8f (diff) |
Minor fifo fix
Diffstat (limited to 'uzbl.c')
-rw-r--r-- | uzbl.c | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -438,18 +438,11 @@ parse_line(char *line) { static void control_fifo(GIOChannel *fd) { gchar *ctl_line; - gsize term_pos; - if(!fd) return; - - g_io_channel_read_line(fd, &ctl_line, NULL, &term_pos, NULL); - ctl_line[term_pos] ='\0'; - + g_io_channel_read_line(fd, &ctl_line, NULL, NULL, NULL); parse_line(ctl_line); - g_free(ctl_line); - return; } |