Changeset 4556 for trunk/varnish-cache/lib
- Timestamp:
- 02/12/10 12:42:03 (6 months ago)
- Location:
- trunk/varnish-cache/lib
- Files:
-
- 5 modified
-
libvarnish/cli_serve.c (modified) (5 diffs)
-
libvarnish/time.c (modified) (1 diff)
-
libvarnish/vss.c (modified) (1 diff)
-
libvarnishapi/shmlog.c (modified) (1 diff)
-
libvcl/vcc_backend.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/varnish-cache/lib/libvarnish/cli_serve.c
r4477 r4556 51 51 #include <libvarnish.h> 52 52 #include <miniobj.h> 53 53 54 54 struct cls_func { 55 55 unsigned magic; … … 82 82 83 83 /*--------------------------------------------------------------------*/ 84 84 85 85 void 86 86 CLS_func_close(struct cli *cli, const char *const *av, void *priv) … … 263 263 AN(av); 264 264 265 cli->result = CLIS_UNKNOWN; 265 cli->result = CLIS_UNKNOWN; 266 266 vsb_clear(cli->sb); 267 267 cli_out(cli, "Unknown request.\nType 'help' for more info.\n"); … … 356 356 cls_close_fd(struct cls *cs, struct cls_fd *cfd) 357 357 { 358 358 359 359 CHECK_OBJ_NOTNULL(cs, CLS_MAGIC); 360 360 CHECK_OBJ_NOTNULL(cfd, CLS_FD_MAGIC); … … 483 483 *csp = NULL; 484 484 CHECK_OBJ_NOTNULL(cs, CLS_MAGIC); 485 VTAILQ_FOREACH_SAFE(cfd, &cs->fds, list, cfd2) 485 VTAILQ_FOREACH_SAFE(cfd, &cs->fds, list, cfd2) 486 486 cls_close_fd(cs, cfd); 487 487 -
trunk/varnish-cache/lib/libvarnish/time.c
r4440 r4556 251 251 } 252 252 } 253 253 254 254 int 255 255 main(int argc, char **argv) -
trunk/varnish-cache/lib/libvarnish/vss.c
r4450 r4556 250 250 return (-1); 251 251 } 252 if (nonblock) 252 if (nonblock) 253 253 TCP_nonblocking(sd); 254 254 i = connect(sd, &va->va_addr.sa, va->va_addrlen); -
trunk/varnish-cache/lib/libvarnishapi/shmlog.c
r4447 r4556 82 82 * transactions respectively. 83 83 */ 84 struct vbitmap *vbm_client; 85 struct vbitmap *vbm_backend; 84 struct vbitmap *vbm_client; 85 struct vbitmap *vbm_backend; 86 86 87 87 /* -
trunk/varnish-cache/lib/libvcl/vcc_backend.c
r4461 r4556 191 191 192 192 static void 193 vcc_EmitBeIdent(const struct tokenlist *tl, struct vsb *v, 193 vcc_EmitBeIdent(const struct tokenlist *tl, struct vsb *v, 194 194 int serial, const struct token *first, const struct token *last) 195 195 { … … 834 834 PF(tl->t_dir), PF(tl->t_dir)); 835 835 836 836 837 837 } 838 838 if (tl->err) {
