setting buffer for fwrite in slsreceiver

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@636 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2013-07-19 09:15:41 +00:00
parent 34af5c9be0
commit 7a40b12108
3 changed files with 4 additions and 1 deletions

View File

@ -491,6 +491,9 @@ int slsReceiverFunctionList::startWriting(){
break;
}
//setting buffer
setvbuf(sfilefd,NULL,_IOFBF,BUF_SIZE);
//printing packet losses and file names
//if(prevframenum != 0)
if(!framesCaught)