changes in the software structure debugged

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@131 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
bergamaschi
2012-02-24 13:14:58 +00:00
parent e0368c69ee
commit c2a24e2c73
14 changed files with 2403 additions and 1041 deletions

View File

@ -68,14 +68,16 @@ int main(int argc, char *argv[])
#ifdef VERY_VERBOSE
printf("Conenction accepted\n");
#endif
retval=decode_function(fd);
//#ifdef VERY_VERBOSE
printf("function executed\n");
//#endif
closeConnection(fd);
if (fd>0) {
retval=decode_function(fd);
//#ifdef VERY_VERBOSE
printf("function executed\n");
//#endif
closeConnection(fd);
#ifdef VERY_VERBOSE
printf("connection closed\n");
printf("connection closed\n");
#endif
}
}
exitServer(sockfd);