Changeset 662f67


Ignore:
Timestamp:
2007-08-06 10:28:44 (7 years ago)
Author:
Poul-Henning Kamp <phk@…>
Branches:
2.0, 2.1, tags/varnish-2.0, tags/varnish-2.0-beta1, tags/varnish-2.0-beta1@3141, tags/varnish-2.0-beta2, tags/varnish-2.0-beta2@3221, tags/varnish-2.0-rc1, tags/varnish-2.0-rc1@3266, tags/varnish-2.0-tp1, tags/varnish-2.0-tp1@2734, tags/varnish-2.0-tp2, tags/varnish-2.0-tp2@2803, tags/varnish-2.0.1, tags/varnish-2.0.2, tags/varnish-2.0.3, tags/varnish-2.0.4, tags/varnish-2.0.5, tags/varnish-2.0.6, tags/varnish-2.1.0, tags/varnish-2.1.1, tags/varnish-2.1.2, tags/varnish-2.1.3, tags/varnish-2.1.4
Children:
c8785b
Parents:
b802a3
git-author:
Poul-Henning Kamp <phk@…> (2007-08-06 10:28:44)
git-committer:
Poul-Henning Kamp <phk@…> (2007-08-06 10:28:44)
Message:

Forgot an assert.

WS_Return() is now unused, comment it out.

git-svn-id:  http://www.varnish-cache.org/svn/trunk@1806 d4fa192b-c00b-0410-8231-f00ffab90ce4

Location:
bin/varnishd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bin/varnishd/cache.h

    rb802a3 r662f67  
    9696void WS_Reset(struct ws *ws); 
    9797char *WS_Alloc(struct ws *ws, unsigned bytes); 
    98 void WS_Return(struct ws *ws, char *b, char *e); 
    9998 
    10099/*-------------------------------------------------------------------- 
  • bin/varnishd/cache_center.c

    rb802a3 r662f67  
    483483                p = WS_Alloc(sp->http->ws,  
    484484                    sizeof(const char *) * (sp->nhashptr + 1)); 
     485                XXXAN(p); 
    485486                u = (uintptr_t)p; 
    486487                u &= sizeof(const char *) - 1; 
  • bin/varnishd/cache_ws.c

    r149d678 r662f67  
    130130} 
    131131 
     132#if 0 
     133/* XXX: not used anywhere (yet) */ 
    132134void 
    133135WS_Return(struct ws *ws, char *s, char *e) 
     
    138140                ws->f = s; 
    139141} 
     142#endif 
Note: See TracChangeset for help on using the changeset viewer.