[master] 279ecbf fix a typo discussed with phk and martin

Nils Goroll nils.goroll at uplex.de
Tue May 3 17:23:05 CEST 2016


commit 279ecbf78de98909fb573b64863e7de5c3d3c704
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue May 3 17:16:22 2016 +0200

    fix a typo discussed with phk and martin

diff --git a/bin/varnishd/cache/cache_ban.c b/bin/varnishd/cache/cache_ban.c
index 6ade8d4..2d8f2db 100644
--- a/bin/varnishd/cache/cache_ban.c
+++ b/bin/varnishd/cache/cache_ban.c
@@ -332,7 +332,7 @@ ban_info_new(const uint8_t *ban, unsigned len)
 void
 ban_info_drop(const uint8_t *ban, unsigned len)
 {
-	if (STV_BanInfoNew(ban, len))
+	if (STV_BanInfoDrop(ban, len))
 		ban_export();
 }
 



More information about the varnish-commit mailing list