(main): init context correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4817 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -534,13 +534,13 @@ main(int argc, char **argv)
|
|||||||
int optind = 0;
|
int optind = 0;
|
||||||
int ret = 1;
|
int ret = 1;
|
||||||
char *host, *user, *filename;
|
char *host, *user, *filename;
|
||||||
#ifdef KRB5
|
|
||||||
krb5_context context;
|
|
||||||
krb5_init_context (&context);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
set_progname (argv[0]);
|
set_progname (argv[0]);
|
||||||
|
|
||||||
|
#ifdef KRB5
|
||||||
|
krb5_init_context (&context);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (getarg (args, sizeof(args) / sizeof(args[0]), argc, argv,
|
if (getarg (args, sizeof(args) / sizeof(args[0]), argc, argv,
|
||||||
&optind))
|
&optind))
|
||||||
usage (1);
|
usage (1);
|
||||||
|
Reference in New Issue
Block a user