Fix typo for dbname
authorTheodore Tso <tytso@mit.edu>
Thu, 3 Jun 1993 00:02:16 +0000 (00:02 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 3 Jun 1993 00:02:16 +0000 (00:02 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2537 dc483132-0cff-0310-8789-dd5450dbe970

src/admin/edit/kdb5_edit.c

index 9809bd1127ef2092f9e83d15697991735428cc18..bebfb20288ed79ab73215c8f04a7b8926f532311 100644 (file)
@@ -127,7 +127,7 @@ char *argv[];
     int optchar;
 
     krb5_error_code retval;
-    char *dbname = 0;
+    char *dbname = DEFAULT_KDB_FILE;
     char *defrealm;
     int keytypedone = 0;
     krb5_enctype etype = DEFAULT_KDC_ETYPE;
@@ -207,9 +207,6 @@ char *argv[];
     }
     krb5_use_cstype(&master_encblock, etype);
 
-    if (!dbname)
-       dbname = DEFAULT_DBM_FILE;      /* XXX? */
-
     sci_idx = ss_create_invocation("kdb5_edit", "5.0", (char *) NULL,
                                   &kdb5_edit_cmds, &retval);
     if (retval) {