Commit 3afacf36 authored by Matteo Quintiliani's avatar Matteo Quintiliani
Browse files

Minor change


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@142 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 428045ff
Loading
Loading
Loading
Loading
+7 −1
Original line number Original line Diff line number Diff line
@@ -63,6 +63,7 @@ int main (int argc, char **argv) {
    uint32_t connection_time;
    uint32_t connection_time;
    int request_SOCKET_OK;
    int request_SOCKET_OK;
    int i_chan, cur_chan;
    int i_chan, cur_chan;
    int exitpdscondition;


    NMXP_MSG_SERVER type;
    NMXP_MSG_SERVER type;
    void *buffer;
    void *buffer;
@@ -437,7 +438,10 @@ int main (int argc, char **argv) {
	}
	}
#endif
#endif


	while(1) {
	// TODO
	exitpdscondition = 1;

	while(exitpdscondition) {
	    /* Process Compressed or Decompressed Data */
	    /* Process Compressed or Decompressed Data */
	    pd = nmxp_receiveData(naqssock, channelList_subset, CURRENT_NETWORK);
	    pd = nmxp_receiveData(naqssock, channelList_subset, CURRENT_NETWORK);


@@ -487,6 +491,8 @@ int main (int argc, char **argv) {
		pd->buffer = NULL;
		pd->buffer = NULL;
	    }
	    }


	    // TODO
	    exitpdscondition = 1;
	}
	}


#ifdef HAVE_LIBMSEED
#ifdef HAVE_LIBMSEED