gatserver: fix certain bad behavior
authorDenis Kenzior <denkenz@gmail.com>
Mon, 11 Jul 2011 20:51:34 +0000 (15:51 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Mon, 11 Jul 2011 20:51:34 +0000 (15:51 -0500)
commit329f2d724b25cd934dc834a3cac9c7b12dbb2df9
tree4c10e33d2735d40a90f133281225ce424ec3c4f1
parent1789bd5d4b77bb1bc0b8330074ee2a2060c555dc
gatserver: fix certain bad behavior

Due to the new GAtIO semantics, the receive function is called
immediately if the receive buffer is not empty.  This caused certain
funny behavior in non-command (e.g. empty, a/) processing.
gatchat/gatserver.c