r665 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Sat Aug 5 14:24:05 CEST 2006


Author: phk
Date: 2006-08-05 14:24:05 +0200 (Sat, 05 Aug 2006)
New Revision: 665

Modified:
   trunk/varnish-cache/bin/varnishd/mgt_cli.c
Log:
Remove unused include

Fix function arg type


Modified: trunk/varnish-cache/bin/varnishd/mgt_cli.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_cli.c	2006-08-05 12:23:44 UTC (rev 664)
+++ trunk/varnish-cache/bin/varnishd/mgt_cli.c	2006-08-05 12:24:05 UTC (rev 665)
@@ -12,7 +12,6 @@
 #include <stdarg.h>
 #include <sys/types.h>
 
-#include "libvarnish.h"
 #include "cli_priv.h"
 #include "cli.h"
 #include "sbuf.h"
@@ -232,7 +231,7 @@
 };
 
 static int
-mgt_cli_callback(struct ev *e, unsigned what)
+mgt_cli_callback(struct ev *e, int what)
 {
 	struct cli_port *cp;
 	char *p;




More information about the varnish-commit mailing list