diff options
Diffstat (limited to 'ASNMP/asnmp/transaction.cpp')
-rw-r--r-- | ASNMP/asnmp/transaction.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ASNMP/asnmp/transaction.cpp b/ASNMP/asnmp/transaction.cpp index 1396ea3e488..2964ff8a1f2 100644 --- a/ASNMP/asnmp/transaction.cpp +++ b/ASNMP/asnmp/transaction.cpp @@ -140,8 +140,7 @@ int transaction::handle_input (ACE_HANDLE) int transaction::handle_timeout(const ACE_Time_Value &, const void *) { - int rc; - if ((rc = send()) < 0) // send pkt to agent + if (send() < 0) // send pkt to agent result_->result(this, 0); else if (retry_counter_++ > params_.get_retry()) |