Somewhere

This commit is contained in:
Dhanya Maliakal 2017-07-03 13:45:45 +02:00
parent b03e35a8d6
commit 26f9b1ccbd

View File

@ -622,12 +622,6 @@ int slsReceiverTCPIPInterface::send_update() {
mySock->SendDataOnly(mySock->lastClientIP,sizeof(mySock->lastClientIP)); mySock->SendDataOnly(mySock->lastClientIP,sizeof(mySock->lastClientIP));
//index
#ifdef SLS_RECEIVER_UDP_FUNCTIONS
ind=receiverBase->getFileIndex();
#endif
mySock->SendDataOnly(&ind,sizeof(ind));
//filepath //filepath
#ifdef SLS_RECEIVER_UDP_FUNCTIONS #ifdef SLS_RECEIVER_UDP_FUNCTIONS
path = receiverBase->getFilePath(); path = receiverBase->getFilePath();
@ -650,6 +644,12 @@ int slsReceiverTCPIPInterface::send_update() {
delete[] path; delete[] path;
} }
//index
#ifdef SLS_RECEIVER_UDP_FUNCTIONS
ind=receiverBase->getFileIndex();
#endif
mySock->SendDataOnly(&ind,sizeof(ind));
// file path // file path
// file name // file name