diff options
| author | Greg Hudson <ghudson@mit.edu> | 2012-10-20 20:16:19 -0400 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2012-12-19 12:16:23 -0500 |
| commit | dbbc38c38150d76ebd6ff0b9d971ff48de3fbe38 (patch) | |
| tree | 0a4932a10a21992c542ce6aad6de2891f41f6c3e /src/include | |
| parent | d9abacfd82b3336d133d12ed117173a1b6c0ba54 (diff) | |
| download | krb5-dbbc38c38150d76ebd6ff0b9d971ff48de3fbe38.tar.gz krb5-dbbc38c38150d76ebd6ff0b9d971ff48de3fbe38.tar.xz krb5-dbbc38c38150d76ebd6ff0b9d971ff48de3fbe38.zip | |
Simplify error message retrieval
Eliminate the scratch_buf field of struct error_info and just return a
non-localized constant error message if we can't allocate a copy of
the real one. Also rely on a conformant strerror().
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/k5-err.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/k5-err.h b/src/include/k5-err.h index b677f19e1..d6d4bbff5 100644 --- a/src/include/k5-err.h +++ b/src/include/k5-err.h @@ -45,7 +45,6 @@ struct errinfo { long code; char *msg; - char scratch_buf[1024]; }; void k5_set_error(struct errinfo *ep, long code, const char *fmt, ...) |
