Commit 55bf3680 authored by Matteo Quintiliani's avatar Matteo Quintiliani
Browse files

Minor change


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@670 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent c1f4e4fc
......@@ -213,7 +213,7 @@ memory region.
color="red">level</font></b> of logging verbosity.
Verbosity is a bitmap:<br>
1 Packet, 2 Channel, 4 Raw Stream, 8 CRC32, 16 Connection flow, 32 Packet Management, 64 Extra, 128 Date, 256 Gap, 512 DOD, 1023 All messages.
<pre><!-- Default and example go here --><br>Default: 0<br>Example: Verbosity 16</pre>
<pre><!-- Default and example go here --><br>Default: 0<br>Example: Verbosity 80 # 16 Connection flow + 64 Extra</pre>
</blockquote>
......
......@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it
*
* $Id: nmxptool.c,v 1.117 2008-01-18 07:11:34 mtheo Exp $
* $Id: nmxptool.c,v 1.118 2008-01-18 07:24:28 mtheo Exp $
*
*/
......@@ -740,7 +740,7 @@ int main (int argc, char **argv) {
cur_after_start_time = DEFAULT_BUFFERED_TIME;
}
nmxp_data_to_str(cur_after_start_time_str, cur_after_start_time);
nmxp_log(NMXP_LOG_WARN, NMXP_LOG_D_EXTRA, "cur_chan %d, cur_after_start_time %f, cur_after_start_time_str %s\n", cur_chan, cur_after_start_time, cur_after_start_time_str);
nmxp_log(NMXP_LOG_WARN, NMXP_LOG_D_PACKETMAN, "cur_chan %d, cur_after_start_time %f, cur_after_start_time_str %s\n", cur_chan, cur_after_start_time, cur_after_start_time_str);
if(pd->time + ((double) pd->nSamp / (double) pd->sampRate) >= cur_after_start_time) {
if(pd->time < cur_after_start_time) {
int first_nsample_to_remove = (cur_after_start_time - pd->time) * (double) pd->sampRate;
......
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