svn rev #24636: trunk/src/lib/krb5/os/

ghudson@MIT.EDU ghudson at MIT.EDU
Sun Feb 13 16:14:43 EST 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=24636
Commit By: ghudson
Log Message:
Untabify trace.c (tabs crept in when the file was created).



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	2011-02-13 21:14:00 UTC (rev 24635)
+++ trunk/src/lib/krb5/os/trace.c	2011-02-13 21:14:43 UTC (rev 24636)
@@ -108,18 +108,18 @@
         } else if (strcmp(tmpbuf, "long") == 0) {
             krb5int_buf_add_fmt(&buf, "%ld", va_arg(ap, long));
         } else if (strcmp(tmpbuf, "str") == 0) {
-	    p = va_arg(ap, const char *);
-	    krb5int_buf_add(&buf, (p == NULL) ? "(null)" : p);
+            p = va_arg(ap, const char *);
+            krb5int_buf_add(&buf, (p == NULL) ? "(null)" : p);
         } else if (strcmp(tmpbuf, "lenstr") == 0) {
             len = va_arg(ap, size_t);
-	    p = va_arg(ap, const char *);
+            p = va_arg(ap, const char *);
             if (p == NULL && len != 0)
                 krb5int_buf_add(&buf, "(null)");
             else
                 krb5int_buf_add_len(&buf, p, len);
         } else if (strcmp(tmpbuf, "hexlenstr") == 0) {
             len = va_arg(ap, size_t);
-	    p = va_arg(ap, const char *);
+            p = va_arg(ap, const char *);
             if (p == NULL && len != 0)
                 krb5int_buf_add(&buf, "(null)");
             else {
@@ -128,7 +128,7 @@
             }
         } else if (strcmp(tmpbuf, "hashlenstr") == 0) {
             len = va_arg(ap, size_t);
-	    p = va_arg(ap, const char *);
+            p = va_arg(ap, const char *);
             if (p == NULL && len != 0)
                 krb5int_buf_add(&buf, "(null)");
             else {
@@ -156,29 +156,29 @@
             } else
                 krb5int_buf_add_fmt(&buf, " %s:%s", addrbuf, portbuf);
         } else if (strcmp(tmpbuf, "data") == 0) {
-	    d = va_arg(ap, krb5_data *);
+            d = va_arg(ap, krb5_data *);
             if (d == NULL || (d->length != 0 && d->data == NULL))
                 krb5int_buf_add(&buf, "(null)");
             else
                 krb5int_buf_add_len(&buf, d->data, d->length);
         } else if (strcmp(tmpbuf, "hexdata") == 0) {
-	    d = va_arg(ap, krb5_data *);
+            d = va_arg(ap, krb5_data *);
             if (d == NULL)
                 krb5int_buf_add(&buf, "(null)");
             else
                 subfmt(context, &buf, "{hexlenstr}", d->length, d->data);
         } else if (strcmp(tmpbuf, "errno") == 0) {
-	    err = va_arg(ap, int);
-	    p = NULL;
+            err = va_arg(ap, int);
+            p = NULL;
 #ifdef HAVE_STRERROR_R
-	    if (strerror_r(err, tmpbuf, sizeof(tmpbuf)) == 0)
-		p = tmpbuf;
+            if (strerror_r(err, tmpbuf, sizeof(tmpbuf)) == 0)
+                p = tmpbuf;
 #endif
-	    if (p == NULL)
-		p = strerror(err);
+            if (p == NULL)
+                p = strerror(err);
             krb5int_buf_add_fmt(&buf, "%d/%s", err, p);
         } else if (strcmp(tmpbuf, "kerr") == 0) {
-	    kerr = va_arg(ap, krb5_error_code);
+            kerr = va_arg(ap, krb5_error_code);
             p = krb5_get_error_message(context, kerr);
             krb5int_buf_add_fmt(&buf, "%ld/%s", (long) kerr, p);
             krb5_free_error_message(context, p);




More information about the cvs-krb5 mailing list