Commit b3dd1d8d authored by Matteo Quintiliani's avatar Matteo Quintiliani

Further changes to accomplish to ticket #734

git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@1410 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent a0632e2a
......@@ -922,6 +922,7 @@ int main (int argc, char **argv) {
}
if ( (time(NULL) - lasttime_pds_receiveddata) >= timeout_pds_receiveddata ) {
nmxp_log(NMXP_LOG_WARN, NMXP_LOG_D_ANY, "No data received within %d seconds. Force to close connection and open again.\n", timeout_pds_receiveddata);
flag_force_close_connection = 1;
time(&lasttime_pds_receiveddata);
}
......
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