Commit 49201d21 authored by Matteo Quintiliani's avatar Matteo Quintiliani

Minor change


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@819 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent c71a7cac
......@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it
*
* $Id: nmxptool.c,v 1.140 2008-02-29 06:40:38 mtheo Exp $
* $Id: nmxptool.c,v 1.141 2008-02-29 07:09:25 mtheo Exp $
*
*/
......@@ -329,7 +329,7 @@ int main (int argc, char **argv) {
}
/* TODO condition starting DAP or PDS */
/* Condition for starting DAP or PDS */
if( DAP_CONDITION(params) ||
(times_flow == 0 && params.statefile && params.max_data_to_retrieve > 0 && params.interval == DEFAULT_INTERVAL_INFINITE) ) {
......@@ -770,7 +770,6 @@ int main (int argc, char **argv) {
}
if(recv_errno == 0) {
/* TODO*/
exitpdscondition = 1;
} else {
#ifdef HAVE_WINDOWS_H
......@@ -779,7 +778,6 @@ int main (int argc, char **argv) {
if(recv_errno == EWOULDBLOCK)
#endif
{
/* TODO*/
exitpdscondition = 1;
} else {
nmxp_log(NMXP_LOG_ERR, NMXP_LOG_D_CONNFLOW, "Error receiving data. pd=%p recv_errno=%d\n",
......
......@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it
*
* $Id: nmxptool_getoptlong.c,v 1.71 2008-02-28 13:58:07 mtheo Exp $
* $Id: nmxptool_getoptlong.c,v 1.72 2008-02-29 07:09:25 mtheo Exp $
*
*/
......@@ -712,8 +712,10 @@ int nmxptool_getopt_long(int argc, char **argv, NMXPTOOL_PARAMS *params)
ret_errors += optind;
nmxp_log(NMXP_LOG_NORM_NO, NMXP_LOG_D_ANY, "non-option ARGV-elements: ");
while (optind < argc)
nmxp_log(NMXP_LOG_NORM_NO, NMXP_LOG_D_ANY, "%s ", NMXP_LOG_STR(argv[optind++]));
while (optind < argc) {
nmxp_log(NMXP_LOG_NORM_NO, NMXP_LOG_D_ANY, "%s ",
NMXP_LOG_STR(argv[optind++]));
}
putchar ('\n');
}
......
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