[25853] in CVS-changelog-for-Kerberos-V5
svn rev #25343: trunk/src/lib/gssapi/generic/
daemon@ATHENA.MIT.EDU (ghudson@mit.edu)
Fri Oct 14 11:15:09 2011
Date: Fri, 14 Oct 2011 11:14:58 -0400
From: ghudson@mit.edu
Message-Id: <201110141514.p9EFEw3u004244@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu
http://src.mit.edu/fisheye/changelog/krb5/?cs=25343
Commit By: ghudson
Log Message:
Untabify a recent gssapi_alloc.h change.
Also mark the file as using the krb5 C style.
Changed Files:
U trunk/src/lib/gssapi/generic/gssapi_alloc.h
Modified: trunk/src/lib/gssapi/generic/gssapi_alloc.h
===================================================================
--- trunk/src/lib/gssapi/generic/gssapi_alloc.h 2011-10-14 15:07:01 UTC (rev 25342)
+++ trunk/src/lib/gssapi/generic/gssapi_alloc.h 2011-10-14 15:14:57 UTC (rev 25343)
@@ -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 @@
char *copy = gssalloc_malloc(size);
if (copy) {
memcpy(copy, str, size);
- copy[size-1] = '\0';
+ copy[size-1] = '\0';
}
return copy;
}
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5