gatchat: Fix setup of GIOChannel from multiplexer DLC

This commit is contained in:
Marcel Holtmann 2011-01-19 12:10:10 +01:00
parent 893e14d39d
commit 2126700c3e
1 changed files with 4 additions and 0 deletions

View File

@ -699,6 +699,10 @@ GIOChannel *g_at_mux_create_channel(GAtMux *mux)
channel->funcs = &channel_funcs;
channel->is_seekable = FALSE;
channel->is_readable = TRUE;
channel->is_writeable = TRUE;
channel->do_encode = FALSE;
mux_channel->mux = mux;
mux_channel->dlc = i+1;