r3059 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Fri Aug 1 13:24:49 CEST 2008
Author: phk
Date: 2008-08-01 13:24:48 +0200 (Fri, 01 Aug 2008)
New Revision: 3059
Modified:
trunk/varnish-cache/bin/varnishd/cache_center.c
Log:
Use WRONG instead of INCOMPL
Modified: trunk/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_center.c 2008-08-01 11:07:58 UTC (rev 3058)
+++ trunk/varnish-cache/bin/varnishd/cache_center.c 2008-08-01 11:24:48 UTC (rev 3059)
@@ -487,7 +487,7 @@
sp->step = STP_DONE;
break;
default:
- INCOMPL();
+ WRONG("Illegal return from HTC_Rx");
}
return (0);
}
@@ -884,7 +884,8 @@
sp->step = STP_ERROR;
return (0);
default:
- INCOMPL();
+ WRONG("Illegal action in vcl_recv{}");
+ return (0);
}
}
@@ -1008,7 +1009,8 @@
break;
#include "steps.h"
#undef STEP
- default: INCOMPL();
+ default:
+ WRONG("State engine misfire");
}
CHECK_OBJ_ORNULL(w->nobj, OBJECT_MAGIC);
CHECK_OBJ_ORNULL(w->nobjhead, OBJHEAD_MAGIC);
More information about the varnish-commit
mailing list