avoid Input/output error, connection closed after sucessfull connection
authorMiloš Mulač <mulac@civ.zcu.cz>
Mon, 7 Aug 2006 14:05:21 +0000 (14:05 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Mon, 7 Aug 2006 14:05:21 +0000 (14:05 +0000)
org.glite.jp.primary/src/bones_server.c

index d2c37b2..9bfe779 100644 (file)
@@ -367,7 +367,7 @@ static int request(int conn,struct timeval *to,void *data)
                fprintf(stderr,"[%d] %s\n",getpid(),e = glite_jp_error_chain(ctx));
                free(e);
        }
-       return 0;
+       return ENOTCONN;
 }
 
 static int reject(int conn)