Commit 43b9056c authored by Matteo Quintiliani's avatar Matteo Quintiliani

Minor changes


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@238 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent e64bbb19
......@@ -513,10 +513,6 @@ int main (int argc, char **argv) {
}
#endif
if(pd->nSamp > 0) {
channelListSeq[cur_chan].x_1 = pd->pDataPtr[pd->nSamp-1];
}
#ifdef HAVE___SRC_SEEDLINK_PLUGIN_C
/* Send data to SeedLink Server */
if(params.flag_slink) {
......@@ -534,6 +530,11 @@ int main (int argc, char **argv) {
}
}
/* Store x_1 */
if(pd->nSamp > 0) {
channelListSeq[cur_chan].x_1 = pd->pDataPtr[pd->nSamp-1];
}
/* Free pd->buffer */
if(pd->buffer) {
free(pd->buffer);
pd->buffer = NULL;
......@@ -591,9 +592,8 @@ int main (int argc, char **argv) {
/* ************************************************************ */
} else {
} else {
......@@ -686,9 +686,6 @@ int main (int argc, char **argv) {
nmxptool_write_miniseed(pd);
}
#endif
if(pd->nSamp > 0) {
channelListSeq[cur_chan].x_1 = pd->pDataPtr[pd->nSamp-1];
}
#ifdef HAVE___SRC_SEEDLINK_PLUGIN_C
/* Send data to SeedLink Server */
......@@ -697,6 +694,11 @@ int main (int argc, char **argv) {
}
#endif
/* Store x_1 */
if(pd->nSamp > 0) {
channelListSeq[cur_chan].x_1 = pd->pDataPtr[pd->nSamp-1];
}
/* Free pd->buffer */
if(pd->buffer) {
free(pd->buffer);
pd->buffer = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment