r2107 - trunk/varnish-cache/lib/libvarnish
des at projects.linpro.no
des at projects.linpro.no
Tue Oct 16 16:15:54 CEST 2007
Author: des
Date: 2007-10-16 16:15:54 +0200 (Tue, 16 Oct 2007)
New Revision: 2107
Modified:
trunk/varnish-cache/lib/libvarnish/assert.c
trunk/varnish-cache/lib/libvarnish/binary_heap.c
trunk/varnish-cache/lib/libvarnish/crc32.c
trunk/varnish-cache/lib/libvarnish/vss.c
Log:
Whitespace cleanup.
Modified: trunk/varnish-cache/lib/libvarnish/assert.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/assert.c 2007-10-16 14:12:23 UTC (rev 2106)
+++ trunk/varnish-cache/lib/libvarnish/assert.c 2007-10-16 14:15:54 UTC (rev 2107)
@@ -57,4 +57,3 @@
" errno = %d (%s)\n", func, file, line, cond, err, strerror(err));
abort();
}
-
Modified: trunk/varnish-cache/lib/libvarnish/binary_heap.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/binary_heap.c 2007-10-16 14:12:23 UTC (rev 2106)
+++ trunk/varnish-cache/lib/libvarnish/binary_heap.c 2007-10-16 14:15:54 UTC (rev 2107)
@@ -298,7 +298,7 @@
#else
struct foo {
- unsigned idx;
+ unsigned idx;
unsigned key;
};
Modified: trunk/varnish-cache/lib/libvarnish/crc32.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/crc32.c 2007-10-16 14:12:23 UTC (rev 2106)
+++ trunk/varnish-cache/lib/libvarnish/crc32.c 2007-10-16 14:15:54 UTC (rev 2107)
@@ -99,4 +99,3 @@
crc = crc32(~0U, p1, l);
return (crc ^ ~0U);
}
-
Modified: trunk/varnish-cache/lib/libvarnish/vss.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/vss.c 2007-10-16 14:12:23 UTC (rev 2106)
+++ trunk/varnish-cache/lib/libvarnish/vss.c 2007-10-16 14:15:54 UTC (rev 2107)
@@ -127,14 +127,14 @@
struct vss_addr **va;
int i, ret;
- memset(&hints, 0, sizeof hints);
- hints.ai_socktype = SOCK_STREAM;
- hints.ai_flags = AI_PASSIVE;
- ret = getaddrinfo(addr, port, &hints, &res0);
- if (ret != 0) {
- fprintf(stderr, "getaddrinfo(): %s\n", gai_strerror(ret));
- return (0);
- }
+ memset(&hints, 0, sizeof hints);
+ hints.ai_socktype = SOCK_STREAM;
+ hints.ai_flags = AI_PASSIVE;
+ ret = getaddrinfo(addr, port, &hints, &res0);
+ if (ret != 0) {
+ fprintf(stderr, "getaddrinfo(): %s\n", gai_strerror(ret));
+ return (0);
+ }
for (res = res0, i = 0; res != NULL; res = res->ai_next)
++i;
va = calloc(i, sizeof *va);
More information about the varnish-commit
mailing list