Commit bc6ebffa authored by Matteo Quintiliani's avatar Matteo Quintiliani

Fixed minor bug: added function nmxptool_listen_print_seq_no() only when socket listen is enabled


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@1289 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 0b49be14
......@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it
*
* $Id: nmxptool.c,v 1.218 2009-08-31 12:16:41 mtheo Exp $
* $Id: nmxptool.c,v 1.219 2009-09-01 08:55:26 mtheo Exp $
*
*/
......@@ -295,7 +295,9 @@ int main (int argc, char **argv) {
if(params.stc == -1) {
#ifndef HAVE_WINDOWS_H
p_func_pd[n_func_pd++] = nmxptool_listen_print_seq_no;
if(params.listen_port != DEFAULT_LISTEN_PORT) {
p_func_pd[n_func_pd++] = nmxptool_listen_print_seq_no;
}
#endif
if(params.flag_logdata) {
......
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