svn rev #24124: trunk/src/lib/krb5/os/
ghudson@MIT.EDU
ghudson at MIT.EDU
Thu Jun 10 10:50:10 EDT 2010
http://src.mit.edu/fisheye/changelog/krb5/?cs=24124
Commit By: ghudson
Log Message:
Fix a couple of minor defects in trace.c.
Changed Files:
U trunk/src/lib/krb5/os/trace.c
Modified: trunk/src/lib/krb5/os/trace.c
===================================================================
--- trunk/src/lib/krb5/os/trace.c 2010-06-08 18:18:03 UTC (rev 24123)
+++ trunk/src/lib/krb5/os/trace.c 2010-06-10 14:50:09 UTC (rev 24124)
@@ -69,9 +69,8 @@
{
struct k5buf buf;
krb5_error_code kerr;
- size_t len;
+ size_t len, i;
int err;
- unsigned int i;
struct addrinfo *ai;
const krb5_data *d;
krb5_data data;
@@ -285,9 +284,9 @@
char *str = NULL, *msg = NULL;
krb5_int32 sec, usec;
- va_start(ap, fmt);
if (context == NULL || context->trace_callback == NULL)
return;
+ va_start(ap, fmt);
str = trace_format(context, fmt, ap);
if (str == NULL)
goto cleanup;
More information about the cvs-krb5
mailing list