BastliBridge

A bot framework bridgin multiple IM protocols, and mail
git clone git://xatko.vsos.ethz.ch/BastliBridge.git
Log | Files | Refs | Submodules

commit 39cafb2014880b7d71d71e5027bcbc1824b5ce57
parent 832fa6adc565db3643c420a22546e0740b3b9b47
Author: Dominik Schmidt <das1993@hotmail.com>
Date:   Thu, 14 Sep 2017 21:17:32 +0200

Don't close socket inside the receive function, let the caller handle that.

Diffstat:
src/telegram.d | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/src/telegram.d b/src/telegram.d @@ -168,7 +168,6 @@ struct Telegram{ res=sock.receive(buf); if(res==0){ info("Socket ", sock.handle, " died"); - sock.close(); return []; } else if(res==Socket.ERROR){