Changeset 4603 for trunk/varnish-cache

Show
Ignore:
Timestamp:
03/03/10 10:12:10 (5 months ago)
Author:
phk
Message:

Assert on the right HTTP structure.

Found by: luc/tom28

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/varnish-cache/bin/varnishd/cache_http.c

    r4557 r4603  
    645645        CHECK_OBJ_NOTNULL(fm, HTTP_MAGIC); 
    646646        CHECK_OBJ_NOTNULL(to, HTTP_MAGIC); 
    647         assert(n < to->shd); 
     647        assert(n < fm->shd); 
    648648        Tcheck(fm->hd[n]); 
    649649        if (to->nhd < to->shd) {