]> andersk Git - moira.git/commitdiff
an input bufsiz of 1 is not useful, since strings are zero terminated
authormar <mar>
Tue, 9 Aug 1988 19:46:52 +0000 (19:46 +0000)
committermar <mar>
Tue, 9 Aug 1988 19:46:52 +0000 (19:46 +0000)
clients/moira/user.c

index 2552aacc88957bbbe9ea48d4528d4945c5e333ef..51ff26a7cd3a1f8f397e9bc6d567c91ed69c9d9d 100644 (file)
@@ -512,7 +512,7 @@ Bool one_item;
 
     if (one_item) {
        sprintf(txt_buf, "Deactivate user %s (y/n)", info[NAME]);
-       if (!YesNoQuestion(txt_buf, 1))
+       if (!YesNoQuestion(txt_buf, 2))
            return;
     }
 
@@ -629,7 +629,7 @@ char *argv[];
        return(DM_NORMAL);
 
     if (!PromptWithDefault("Print full information, or just the names (f/n)?",
-                          buf, 1, "f"))
+                          buf, 2, "f"))
        return(DM_NORMAL);
 
     switch(buf[0]) {
This page took 0.046478 seconds and 5 git commands to generate.