]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Add "break" inadvertently removed in previous update.
authorDavid Nugent <davidn@FreeBSD.org>
Fri, 13 Jun 1997 22:26:41 +0000 (22:26 +0000)
committerDavid Nugent <davidn@FreeBSD.org>
Fri, 13 Jun 1997 22:26:41 +0000 (22:26 +0000)
PR: 3820
Submitted by: Joseph Stein <joes@spiritone.com>

libutil/login_cap.c

index b1761eca3a29c651ce62ce47ef4a8a6f258bf5af..036990798fda3c589e31b9cb6e0721981309b530 100644 (file)
@@ -25,7 +25,7 @@
  *
  * Low-level routines relating to the user capabilities database
  *
- *     $Id: login_cap.c,v 1.12 1997/05/10 18:55:37 davidn Exp $
+ *     $Id: login_cap.c,v 1.13 1997/05/11 08:07:29 davidn Exp $
  */
 
 #include <stdio.h>
@@ -557,8 +557,10 @@ login_getcaptime(login_cap_t *lc, const char *cap, rlim_t def, rlim_t error)
            break;
        case 'w': case 'W':     /* weeks */
            mult = 60L * 60L * 24L * 7L;
+           break;
        case 'y': case 'Y':     /* 365-day years */
            mult = 60L * 60L * 24L * 365L;
+           break;
        default:
            goto invalid;
        }