From eb7faa7de00d1274dbf20cd28adb321d73091502 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Fri, 14 Oct 2011 15:14:57 +0000 Subject: [PATCH] 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 --- src/lib/gssapi/generic/gssapi_alloc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/gssapi/generic/gssapi_alloc.h b/src/lib/gssapi/generic/gssapi_alloc.h index a28533ed4..713c89537 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; } -- 2.26.2