diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-11-19 02:34:45 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-11-19 02:34:45 +0200 |
commit | fb03f7ac53adbaae8d8add2721941393243917fa (patch) | |
tree | 13e2cc5c6d2e5a17302f9cc4783fe7d19765ba54 /src | |
parent | 1227f96ebb7276f88b88756fed0ffca4ea162659 (diff) | |
download | varnish-mib-fb03f7ac53adbaae8d8add2721941393243917fa.tar.gz varnish-mib-fb03f7ac53adbaae8d8add2721941393243917fa.tar.bz2 |
Fix comments in src/varnish_mib.mib2c
Diffstat (limited to 'src')
-rw-r--r-- | src/varnish_mib.mib2c | 11 |
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 @@ -173,16 +173,15 @@ handle_$i(netsnmp_mib_handler *handler, 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); @@ -191,7 +190,7 @@ handle_$i(netsnmp_mib_handler *handler, 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@ @@ -199,7 +198,7 @@ handle_$i(netsnmp_mib_handler *handler, 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@ |