summaryrefslogtreecommitdiff
path: root/ACE/ASNMP
diff options
context:
space:
mode:
authorAbdullah Sowayan <sowayan@users.noreply.github.com>2007-08-19 14:04:08 +0000
committerAbdullah Sowayan <sowayan@users.noreply.github.com>2007-08-19 14:04:08 +0000
commit287465f56bd350640878f826c586605df845eda0 (patch)
treee65de73a150b4a1f79abf3911496e54f9e1ee506 /ACE/ASNMP
parent745de509ad3ef5dddaceadb0e218b2d8978a6bdb (diff)
downloadATCD-287465f56bd350640878f826c586605df845eda0.tar.gz
Sun Aug 19 13:57:44 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com>
Diffstat (limited to 'ACE/ASNMP')
-rw-r--r--ACE/ASNMP/agent/agent_impl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/ASNMP/agent/agent_impl.cpp b/ACE/ASNMP/agent/agent_impl.cpp
index b0183a964a4..e1949f54067 100644
--- a/ACE/ASNMP/agent/agent_impl.cpp
+++ b/ACE/ASNMP/agent/agent_impl.cpp
@@ -45,12 +45,12 @@ int agent_impl::handle_get( Pdu &pdu, UdpTarget &target)
for (int i = 0; (i < pdu.get_vb_count()) && !fdone; i++) {
Vb vb;
pdu.get_vb(vb, i);
- if (get_response(vb)) { // set a value for the oid if we can else
+ if (get_response(vb)) { // set a value for the oid if we can else
set_error_status(&pdu, SNMP_ERROR_NO_SUCH_NAME); // these ought to be member
- set_error_index(&pdu, i); // functions but are not yet...
- fdone++; // trigger flag to exit loop early
+ set_error_index(&pdu, i); // functions but are not yet...
+ fdone++; // trigger flag to exit loop early
}
- else // failed, return noSuch error
+ else // failed, return noSuch error
pdu.set_vb(vb, i);
}