From: Ken Raeburn Date: Fri, 31 Jan 2003 00:43:50 +0000 (+0000) Subject: * login.c (main): Initialize 'hostname' X-Git-Tag: krb5-1.3-alpha1~139 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=133604df1c3957fc45898a6fbab8a6193402cf4b;p=krb5.git * login.c (main): Initialize 'hostname' git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15138 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index eed0d7e17..abbabbae7 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,7 +1,7 @@ 2003-01-30 Ken Raeburn * login.c (try_krb4): Delete unused krb5 principal name argument. - (main): Don't pass it. + (main): Don't pass it. Initialize 'hostname'. 2003-01-09 Ken Raeburn diff --git a/src/appl/bsd/login.c b/src/appl/bsd/login.c index 095796dc3..bc63924aa 100644 --- a/src/appl/bsd/login.c +++ b/src/appl/bsd/login.c @@ -1060,7 +1060,7 @@ int main(argc, argv) #endif char *ccname = 0; /* name of forwarded cache */ char *tz = 0; - char *hostname; + char *hostname = 0; off_t lseek(); handler sa;