summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2011-10-14 15:14:57 +0000
committerGreg Hudson <ghudson@mit.edu>2011-10-14 15:14:57 +0000
commiteb7faa7de00d1274dbf20cd28adb321d73091502 (patch)
tree147424bc284908ac4fcfd56df6960b6e7cde1ea3 /src/lib/gssapi
parentf85af5c81fb43539cc9f1a0a50932c4013ee6f25 (diff)
downloadkrb5-eb7faa7de00d1274dbf20cd28adb321d73091502.tar.gz
krb5-eb7faa7de00d1274dbf20cd28adb321d73091502.tar.xz
krb5-eb7faa7de00d1274dbf20cd28adb321d73091502.zip
Untabify a recent gssapi_alloc.h change
Also mark the file as using the krb5 C style. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25343 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/gssapi')
-rw-r--r--src/lib/gssapi/generic/gssapi_alloc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/gssapi/generic/gssapi_alloc.h b/src/lib/gssapi/generic/gssapi_alloc.h
index a28533ed4f..713c89537e 100644
--- a/src/lib/gssapi/generic/gssapi_alloc.h
+++ b/src/lib/gssapi/generic/gssapi_alloc.h
@@ -1,3 +1,4 @@
+/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* To the extent possible under law, Painless Security, LLC has waived
* all copyright and related or neighboring rights to GSS-API Memory
* Management Header. This work is published from: United States.
@@ -60,7 +61,7 @@ gssalloc_strdup(const char *str)
char *copy = gssalloc_malloc(size);
if (copy) {
memcpy(copy, str, size);
- copy[size-1] = '\0';
+ copy[size-1] = '\0';
}
return copy;
}