Commit 4365dd8d authored by Matteo Quintiliani's avatar Matteo Quintiliani
Browse files

Added check to avoid to request to DataServer


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@713 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 384aadc3
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy * Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it * quintiliani@ingv.it
* *
* $Id: nmxptool_getoptlong.c,v 1.59 2008-01-21 10:35:04 mtheo Exp $ * $Id: nmxptool_getoptlong.c,v 1.60 2008-02-17 13:54:35 mtheo Exp $
* *
*/ */
...@@ -143,6 +143,7 @@ Arguments:\n\ ...@@ -143,6 +143,7 @@ Arguments:\n\
Enable option -b. Do not use with -C.\n\ Enable option -b. Do not use with -C.\n\
-A, --maxdataretr=SECs Max amount of data of the past to retrieve from the\n\ -A, --maxdataretr=SECs Max amount of data of the past to retrieve from the\n\
DataServer when program restarts (default %d) [%d..%d].\n\ DataServer when program restarts (default %d) [%d..%d].\n\
0 to disable connection to DataServer.\n\
\n", \n",
DEFAULT_MAX_TIME_TO_RETRIEVE, DEFAULT_MAX_TIME_TO_RETRIEVE,
DEFAULT_MAX_TIME_TO_RETRIEVE_MINIMUM, DEFAULT_MAX_TIME_TO_RETRIEVE_MINIMUM,
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy * Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it * quintiliani@ingv.it
* *
* $Id: nmxptool_getoptlong.h,v 1.66 2008-02-16 15:35:56 mtheo Exp $ * $Id: nmxptool_getoptlong.h,v 1.67 2008-02-17 13:54:35 mtheo Exp $
* *
*/ */
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
#define DEFAULT_INTERVAL_NO_VALUE -1 #define DEFAULT_INTERVAL_NO_VALUE -1
#define DEFAULT_INTERVAL_INFINITE 0 #define DEFAULT_INTERVAL_INFINITE 0
#define DEFAULT_MAX_TIME_TO_RETRIEVE_MINIMUM 30 #define DEFAULT_MAX_TIME_TO_RETRIEVE_MINIMUM 0
#define DEFAULT_MAX_TIME_TO_RETRIEVE_MAXIMUM 86400 #define DEFAULT_MAX_TIME_TO_RETRIEVE_MAXIMUM 86400
#define DEFAULT_MAX_TIME_TO_RETRIEVE 60 #define DEFAULT_MAX_TIME_TO_RETRIEVE 60
......
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