[4.1] cab1dd6 Wrong subroutine in error message

Lasse Karstensen lkarsten at varnish-software.com
Tue Jun 14 11:19:09 CEST 2016


commit cab1dd628d639dd3171a2e84a80cf1a0397b97c6
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Fri Apr 1 01:29:57 2016 +0200

    Wrong subroutine in error message
    
    I shouldn't rely on auto-complete too much, especially for only two
    characters...

diff --git a/bin/varnishd/cache/cache_req_fsm.c b/bin/varnishd/cache/cache_req_fsm.c
index d83f2eb..266b4ba 100644
--- a/bin/varnishd/cache/cache_req_fsm.c
+++ b/bin/varnishd/cache/cache_req_fsm.c
@@ -471,7 +471,7 @@ cnt_lookup(struct worker *wrk, struct req *req)
 		req->req_step = R_STP_PASS;
 		break;
 	default:
-		WRONG("Illegal return from vcl_hash{}");
+		WRONG("Illegal return from vcl_hit{}");
 	}
 
 	/* Drop our object, we won't need it */



More information about the varnish-commit mailing list