Commit c8f07be6 authored by Matteo Quintiliani's avatar Matteo Quintiliani

fixed small bug in setting verbose_level for ew


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@476 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent a868de01
......@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it
*
* $Id: nmxptool.c,v 1.88 2007-11-22 11:13:05 mtheo Exp $
* $Id: nmxptool.c,v 1.89 2007-11-23 16:58:36 mtheo Exp $
*
*/
......@@ -167,8 +167,6 @@ int main (int argc, char **argv) {
return 1;
}
nmxp_log(NMXP_LOG_SET, params.verbose_level);
/* List available channels on server */
if(params.flag_listchannels) {
......@@ -183,6 +181,9 @@ int main (int argc, char **argv) {
}
}
nmxp_log(NMXP_LOG_SET, params.verbose_level);
nmxp_log(NMXP_LOG_NORM, NMXP_LOG_D_ANY, "verbose_level %d\n", params.verbose_level);
/* Get list of available channels and get a subset list of params.channels */
channelList = nmxp_getAvailableChannelList(params.hostname, params.portnumberpds, NMXP_DATA_TIMESERIES);
channelList_subset = nmxp_chan_subset(channelList, NMXP_DATA_TIMESERIES, params.channels, CURRENT_NETWORK);
......
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