summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-10-20 20:16:19 -0400
committerGreg Hudson <ghudson@mit.edu>2012-12-19 12:16:23 -0500
commitdbbc38c38150d76ebd6ff0b9d971ff48de3fbe38 (patch)
tree0a4932a10a21992c542ce6aad6de2891f41f6c3e /src/include
parentd9abacfd82b3336d133d12ed117173a1b6c0ba54 (diff)
downloadkrb5-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.h1
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, ...)