]> git.pld-linux.org Git - packages/pam.git/commitdiff
- fix count in parameter parsing
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 20 Feb 2006 17:53:34 +0000 (17:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pam-pam_pwgen_app.patch -> 1.5

pam-pam_pwgen_app.patch

index f9c1e5fb13b4d6788f097814b1f823a92ce8e2dc..f60219229e5b4858665c7483af7dd3b17f20936f 100644 (file)
@@ -41,8 +41,8 @@ diff -u -r1.3 -r1.5
 -                      strncpy(tri_file, *argv + 7, 128);
 -              } else if (!strncmp(*argv, "upper=", 6)) {
 -                      upper = strtol(*argv + 6, &ep, 10);
-+              } else if (!strncmp(*av, "trifile=", 7)) {
-+                      strncpy(tri_file, *av + 7, 128);
++              } else if (!strncmp(*av, "trifile=", 8)) {
++                      strncpy(tri_file, *av + 8, 128);
 +              } else if (!strncmp(*av, "upper=", 6)) {
 +                      upper = strtol(*av + 6, &ep, 10);
                        if (!ep || (upper < 0))
This page took 0.02963 seconds and 4 git commands to generate.