From fb03f7ac53adbaae8d8add2721941393243917fa Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Wed, 19 Nov 2014 02:34:45 +0200 Subject: Fix comments in src/varnish_mib.mib2c --- src/varnish_mib.mib2c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src') 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@ -- cgit v1.2.1