diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2008-09-09 21:23:35 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2008-09-09 21:23:35 +0000 |
| commit | 85e5934bf52e96e6dad8bacd1bb70f3bd68ff890 (patch) | |
| tree | cffc1bb619ff7c80cd952a6b0406b84af068ee0b /src/lib/krb5/asn.1/asn1_misc.c | |
| parent | 0a17118f906570bdd2366aad3a7346df42f3221d (diff) | |
| download | krb5-85e5934bf52e96e6dad8bacd1bb70f3bd68ff890.tar.gz krb5-85e5934bf52e96e6dad8bacd1bb70f3bd68ff890.tar.xz krb5-85e5934bf52e96e6dad8bacd1bb70f3bd68ff890.zip | |
Untabify; trim trailing whitespace; add emacs local variables to avoid tabs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20711 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/asn.1/asn1_misc.c')
| -rw-r--r-- | src/lib/krb5/asn.1/asn1_misc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/krb5/asn.1/asn1_misc.c b/src/lib/krb5/asn.1/asn1_misc.c index 54ed273ce1..c357f60c29 100644 --- a/src/lib/krb5/asn.1/asn1_misc.c +++ b/src/lib/krb5/asn.1/asn1_misc.c @@ -1,6 +1,7 @@ +/* -*- mode: c; indent-tabs-mode: nil -*- */ /* * src/lib/krb5/asn.1/asn1_misc.c - * + * * Copyright 1994 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -8,7 +9,7 @@ * require a specific license from the United States Government. * It is the responsibility of any person or organization contemplating * export to obtain such a license before exporting. - * + * * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and * distribute this software and its documentation for any purpose and * without fee is hereby granted, provided that the above copyright @@ -32,6 +33,6 @@ asn1_error_code asn1_krb5_realm_copy(krb5_principal target, krb5_principal sourc target->realm.data = (char*)malloc(target->realm.length); /* copy realm */ if (target->realm.data == NULL) return ENOMEM; memcpy(target->realm.data,source->realm.data, /* to client */ - target->realm.length); + target->realm.length); return 0; } |
