X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=src%2Flib%2Fgssapi%2Fgeneric%2Fgssapi_alloc.h;h=713c89537e945168fbcc605e39066576560b0d56;hb=eb7faa7de00d1274dbf20cd28adb321d73091502;hp=a28533ed4f802b5610adadfa34cb9c14f7aa896e;hpb=f85af5c81fb43539cc9f1a0a50932c4013ee6f25;p=krb5.git 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; }