Fix: Make sure we still increment read_count

This commit is contained in:
Denis Kenzior 2010-03-30 22:06:12 -05:00
parent c288921bab
commit e63840ba11
1 changed files with 2 additions and 2 deletions

View File

@ -771,12 +771,12 @@ static gboolean received_data(GIOChannel *channel, GIOCondition cond,
g_at_util_debug_chat(TRUE, (char *)buf, rbytes,
server->debugf, server->debug_data);
read_count++;
/* Ignore incoming bytes when processing a command line */
if (server->processing_cmdline)
continue;
read_count++;
total_read += rbytes;
if (rbytes > 0) {