aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2014-11-19 02:34:45 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2014-11-19 02:34:45 +0200
commitfb03f7ac53adbaae8d8add2721941393243917fa (patch)
tree13e2cc5c6d2e5a17302f9cc4783fe7d19765ba54
parent1227f96ebb7276f88b88756fed0ffca4ea162659 (diff)
downloadvarnish-mib-fb03f7ac53adbaae8d8add2721941393243917fa.tar.gz
varnish-mib-fb03f7ac53adbaae8d8add2721941393243917fa.tar.bz2
Fix comments in src/varnish_mib.mib2c
-rw-r--r--src/varnish_mib.mib2c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/varnish_mib.mib2c b/src/varnish_mib.mib2c
index 8535b0d..6be8cd7 100644
--- a/src/varnish_mib.mib2c
+++ b/src/varnish_mib.mib2c
@@ -170,39 +170,38 @@ handle_$i(netsnmp_mib_handler *handler,
}
@end@
break;
case MODE_SET_FREE:
@if $varnish_set_free ne ''@
- /* XXX: free resources allocated in RESERVE1 and/or
- RESERVE2. Something failed somewhere, and the states
- below won't be called. */
+ # Free resources allocated in RESERVE1 and/or
+ # RESERVE2. Something failed somewhere, and the states
+ # below won't be called. */
$varnish_set_free(reqinfo, requests, vd);
@end@
break;
case MODE_SET_ACTION:
@if $varnish_set_action ne ''@
- /* XXX: perform the value change here */
ret = $varnish_set_action(reqinfo, requests, vd);
if (ret != SNMP_ERR_NOERROR)
netsnmp_set_request_error(reqinfo, requests, ret);
@end@
break;
case MODE_SET_COMMIT:
@if $varnish_set_commit ne ''@
- /* XXX: delete temporary storage */
+ # delete temporary storage
if ($varnish_set_commit(reqinfo, requests, vd))
netsnmp_set_request_error(reqinfo, requests, SNMP_ERR_COMMITFAILED);
@end@
break;
case MODE_SET_UNDO:
@if $varnish_set_undo ne ''@
- /* XXX: UNDO and return to previous value for the object */
+ # UNDO and return to previous value for the object
if ($varnish_set_undo(reqinfo, requests, vd))
netsnmp_set_request_error(reqinfo, requests, SNMP_ERR_UNDOFAILED);
@end@
break;
@end@

Return to:

Send suggestions and report system problems to the System administrator.