Commit 6cf4104a authored by Matteo Quintiliani's avatar Matteo Quintiliani

Changed some message for Timeoutrecv DOD management


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@710 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 7f026d66
...@@ -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: nmxp_base.c,v 1.51 2008-02-15 07:25:30 mtheo Exp $ * $Id: nmxp_base.c,v 1.52 2008-02-16 15:32:23 mtheo Exp $
* *
*/ */
...@@ -395,7 +395,7 @@ int nmxp_receiveMessage(int isock, NMXP_MSG_SERVER *type, void **buffer, int32_t ...@@ -395,7 +395,7 @@ int nmxp_receiveMessage(int isock, NMXP_MSG_SERVER *type, void **buffer, int32_t
#else #else
if(*recv_errno == EWOULDBLOCK) { if(*recv_errno == EWOULDBLOCK) {
#endif #endif
nmxp_log(NMXP_LOG_WARN, NMXP_LOG_D_CONNFLOW, "Timeout receiving in nmxp_receiveMessage()\n"); nmxp_log(NMXP_LOG_WARN, NMXP_LOG_D_DOD, "Timeout receiving in nmxp_receiveMessage()\n");
} else { } else {
nmxp_log(NMXP_LOG_ERR, NMXP_LOG_D_CONNFLOW, "Error in nmxp_receiveMessage()\n"); nmxp_log(NMXP_LOG_ERR, NMXP_LOG_D_CONNFLOW, "Error in nmxp_receiveMessage()\n");
} }
......
...@@ -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.c,v 1.125 2008-02-15 11:31:04 mtheo Exp $ * $Id: nmxptool.c,v 1.126 2008-02-16 15:32:23 mtheo Exp $
* *
*/ */
...@@ -125,7 +125,7 @@ int main (int argc, char **argv) { ...@@ -125,7 +125,7 @@ int main (int argc, char **argv) {
int ret; int ret;
int pd_null_count = 0; int pd_null_count = 0;
int timeoutrecv_warning = 60; int timeoutrecv_warning = 300; /* 5 minutes */
int recv_errno = 0; int recv_errno = 0;
......
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