call setprogname to make libvers happy

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13617 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-03-22 18:07:49 +00:00
parent 5a45d6668e
commit f026b13d65
2 changed files with 4 additions and 0 deletions

View File

@@ -160,6 +160,8 @@ main(int argc, char **argv)
int ch;
char *user;
setprogname(argv[0]);
#ifdef KRB5
krb5_init();
#endif

View File

@@ -163,6 +163,8 @@ main(int argc, char **argv)
netip = netibuf;
nfrontp = nbackp = netobuf;
setprogname(argv[0]);
progname = *argv;
#ifdef ENCRYPTION
nclearto = 0;