From 30e6c810a8d1778b76b5c90fe3d47964bd59edcc Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Mon, 29 Oct 2012 13:49:41 +0000 Subject: [PATCH] put some printf in verbose mode git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@323 951219d9-93cf-4727-9268-0efd64621fa3 --- slsDetectorSoftware/commonFiles/communication_funcs.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/slsDetectorSoftware/commonFiles/communication_funcs.c b/slsDetectorSoftware/commonFiles/communication_funcs.c index 6de2c35d4..1e7b0cb3e 100755 --- a/slsDetectorSoftware/commonFiles/communication_funcs.c +++ b/slsDetectorSoftware/commonFiles/communication_funcs.c @@ -150,11 +150,14 @@ int acceptConnection(int socketDescriptor) { } else if (result < 0 && errno != EINTR) { printf("Error in select(): %s\n", strerror(errno)); } else if (result > 0) { +#ifdef VERBOSE printf("select returned!\n"); +#endif for (j=0; j