renamed stime -> printable_time to avoid conflict on HP/UX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1407 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#include "kuser_locl.h"
|
#include "kuser_locl.h"
|
||||||
|
|
||||||
char*
|
static char*
|
||||||
stime(time_t t)
|
printable_time(time_t t)
|
||||||
{
|
{
|
||||||
static char s[128];
|
static char s[128];
|
||||||
strcpy(s, ctime(&t)+ 4);
|
strcpy(s, ctime(&t)+ 4);
|
||||||
@@ -48,8 +48,8 @@ main (int argc, char **argv)
|
|||||||
ccache,
|
ccache,
|
||||||
&creds,
|
&creds,
|
||||||
&cursor) == 0) {
|
&cursor) == 0) {
|
||||||
printf ("%s ", stime(creds.times.authtime));
|
printf ("%s ", printable_time(creds.times.authtime));
|
||||||
printf ("%s ", stime(creds.times.endtime));
|
printf ("%s ", printable_time(creds.times.endtime));
|
||||||
err = krb5_unparse_name (context, creds.server, &str);
|
err = krb5_unparse_name (context, creds.server, &str);
|
||||||
if (err)
|
if (err)
|
||||||
abort ();
|
abort ();
|
||||||
|
Reference in New Issue
Block a user