From: fredrik Date: Sat, 22 Oct 2005 02:13:54 +0000 (+0000) Subject: Another small bugfix. X-Git-Tag: 0.1~174 X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=0d8c93cb58054c3998b023e9e5ab53f15f9cb2fc;p=doldaconnect.git Another small bugfix. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@401 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/daemon/fnet-dc.c b/daemon/fnet-dc.c index d6ccb77..811b5e0 100644 --- a/daemon/fnet-dc.c +++ b/daemon/fnet-dc.c @@ -2146,6 +2146,12 @@ static void cmd_sending(struct socket *sk, struct dcpeer *peer, char *cmd, char return; } startdl(peer); + if(peer->inbufdata > 0) + { + sockpushdata(sk, peer->inbuf, peer->inbufdata); + peer->inbufdata = 0; + transread(sk, peer); + } } /*