From: Robert W. <wrw...@us...> - 2006-12-12 22:14:34
|
Update of /cvsroot/linuxisns/isnsNT/isnsclient/src In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv18248/src Modified Files: comm.c Log Message: Check for connection close Index: comm.c =================================================================== RCS file: /cvsroot/linuxisns/isnsNT/isnsclient/src/comm.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** comm.c 1 Dec 2006 15:35:17 -0000 1.4 --- comm.c 12 Dec 2006 22:14:31 -0000 1.5 *************** *** 729,732 **** --- 729,738 ---- exit(-1); } + else if (e == 0) + { + printf("\nConnection closed by isns server\n"); + exit(-1); + } + endIndex += e; pending = endIndex - startIndex; |