]> err.no Git - varnish/commitdiff
Remove pointless initialization.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 21 Dec 2008 18:35:47 +0000 (18:35 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 21 Dec 2008 18:35:47 +0000 (18:35 +0000)
Fix indentation.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3493 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_session.c

index fa7e741d60278690158a72ef1f85de0f5a7ffcad..444e46133f0bb323fe0b40be2e3ada6c410d0080 100644 (file)
@@ -382,7 +382,7 @@ SES_ResetBackendTimeouts(struct sess *sp)
 void
 SES_InheritBackendTimeouts(struct sess *sp)
 {
-       struct backend *be = NULL;
+       struct backend *be;
 
        AN(sp);
        AN(sp->vbe);
@@ -395,13 +395,12 @@ SES_InheritBackendTimeouts(struct sess *sp)
         * is parameter < backend definition < VCL.
         */
        if (be->connect_timeout > 1e-3 && 
-                       sp->connect_timeout == params->connect_timeout)
+           sp->connect_timeout == params->connect_timeout)
                sp->connect_timeout = be->connect_timeout;
        if (be->first_byte_timeout > 1e-3 && 
-                       sp->first_byte_timeout == params->first_byte_timeout)
+           sp->first_byte_timeout == params->first_byte_timeout)
                sp->first_byte_timeout = be->first_byte_timeout;
-       if (be->between_bytes_timeout > 1e-3 
-                       && sp->between_bytes_timeout == params->between_bytes_timeout)
+       if (be->between_bytes_timeout > 1e-3 &&
+           sp->between_bytes_timeout == params->between_bytes_timeout)
                sp->between_bytes_timeout = be->between_bytes_timeout;
 }
-