Commit 7b918e63 authored by Matteo Quintiliani's avatar Matteo Quintiliani
Browse files

Minor change


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@1342 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 7847be68
......@@ -97,7 +97,7 @@ DefaultNetworkCode IV # Default network code where in 'Channe
# Condition: TotalNumberOfChannels * (mSECs/nC) < 15 sec.
# Related to -F and -b. 0/0 for disabling.
ChannelFile /home/ew/naqs1a.list.txt # List of channel patterns, as in 'Channel'. One for each line.
ChannelFile /home/ew/nmxptool.list.txt # List of channel patterns, as in 'Channel'. One for each line.
# This file will not be modified by nmxptool.
# Load/Save time of last sample of each channel in a file
# with the same name, same directory, appending suffix ".nmxpstate"
......
# This an example of statefile for nmxptool, option -F
# List of channel patterns, as for option -C. One for each line.
ABCD.BHZ # the network code is from 'DefaultNetworkCode'
MN.CLTB.HH? # mednet station
CH.BERNI.HHZ # station from ETH
# Other channels
*.HH?
......@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it
*
* $Id: nmxptool_chanseq.c,v 1.4 2010-08-27 07:53:18 mtheo Exp $
* $Id: nmxptool_chanseq.c,v 1.5 2010-08-27 09:02:14 mtheo Exp $
*
*/
......@@ -266,6 +266,9 @@ void nmxptool_chanseq_load_states(NMXP_CHAN_LIST_NET *chan_list, NMXPTOOL_CHAN_S
NMXP_LOG_STR(s_noraw_time_s), s_noraw_time_f_calc);
}
} else {
if(line[strlen(line)-1] == 10 || line[strlen(line)-1] == 13) {
line[strlen(line)-1] = 0;
}
nmxp_log(NMXP_LOG_ERR, NMXP_LOG_D_CHANSTATE, "Channel %s not found! (%d %s)\n",
NMXP_LOG_STR(s_chan), strlen(line), NMXP_LOG_STR(line));
}
......
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