From f96d80991254850a231e25164685e790c6f57142 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 9 Aug 1994 23:14:34 +0000 Subject: [PATCH] * poplib.c: fix stupid sterror bug git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4102 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/mailquery/ChangeLog | 2 ++ src/appl/mailquery/poplib.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/appl/mailquery/ChangeLog b/src/appl/mailquery/ChangeLog index 40a9b9c0c..aa0e7864e 100644 --- a/src/appl/mailquery/ChangeLog +++ b/src/appl/mailquery/ChangeLog @@ -1,5 +1,7 @@ Tue Aug 9 16:45:53 1994 Tom Yu (tlyu@dragons-lair) + * poplib.c: fix stupid sterror bug + * Makefile.in: * configure.in: make install fixes diff --git a/src/appl/mailquery/poplib.c b/src/appl/mailquery/poplib.c index 2e75c683a..3cb856ecd 100644 --- a/src/appl/mailquery/poplib.c +++ b/src/appl/mailquery/poplib.c @@ -407,9 +407,9 @@ strerror(e) extern char *sys_errlist[]; if (errno < sys_nerr) - s = sys_errlist[errno]; + return sys_errlist[errno]; else - s = "unknown error"; + return "unknown error"; } #endif -- 2.26.2