]> granicus.if.org Git - apache/commitdiff
Add missing break in 'dav_generic_do_refresh' to avoid useless computation.
authorChristophe Jaillet <jailletc36@apache.org>
Thu, 9 Jan 2014 18:48:11 +0000 (18:48 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Thu, 9 Jan 2014 18:48:11 +0000 (18:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1556914 13f79535-47bb-0310-9956-ffa450edef68

modules/dav/lock/locks.c

index 264a851a7522b3ff2fa04606d0dd7490dbac41ce..ccf972d33e4b5d769aaf13bf25a790fab6ac74b3 100644 (file)
@@ -1093,6 +1093,7 @@ static int dav_generic_do_refresh(dav_lock_discovery *dp,
         {
             dp->f.timeout = new_time;
             dirty = 1;
+            break;
         }
     }