From dbbc38c38150d76ebd6ff0b9d971ff48de3fbe38 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Sat, 20 Oct 2012 20:16:19 -0400 Subject: 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(). --- src/include/k5-err.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/include') diff --git a/src/include/k5-err.h b/src/include/k5-err.h index b677f19e1c..d6d4bbff5f 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, ...) -- cgit