mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
mythenDetectorServer compiles in visrtual mode
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@28 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -68,13 +68,16 @@ int init_detector( int b) {
|
||||
|
||||
int decode_function() {
|
||||
int fnum,n;
|
||||
int retval;
|
||||
int retval=FAIL;
|
||||
#ifdef VERBOSE
|
||||
printf( "receive data\n");
|
||||
#endif
|
||||
n = receiveDataOnly(&fnum,sizeof(fnum));
|
||||
if (n < 0) {
|
||||
if (n <= 0) {
|
||||
printf("ERROR reading from socket %d", n);
|
||||
return GOODBYE;
|
||||
return FAIL;
|
||||
}
|
||||
#ifdef VERY_VERBOSE
|
||||
#ifdef VERBOSE
|
||||
else
|
||||
printf("size of data received %d\n",n);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user