From c7ad44a0489ab779e410b58c0c504b9d8a99aa9c Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 1 Aug 2012 19:18:33 +0200 Subject: factotum: fix _adgetticket() filedescriptor race, add timeouts to all authserver transactions --- sys/src/libauthsrv/_asgetticket.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/src/libauthsrv') diff --git a/sys/src/libauthsrv/_asgetticket.c b/sys/src/libauthsrv/_asgetticket.c index ea9e0c9ef..46283bd5a 100644 --- a/sys/src/libauthsrv/_asgetticket.c +++ b/sys/src/libauthsrv/_asgetticket.c @@ -8,7 +8,6 @@ int _asgetticket(int fd, char *trbuf, char *tbuf) { if(write(fd, trbuf, TICKREQLEN) < 0){ - close(fd); werrstr(pbmsg); return -1; } -- cgit v1.2.3