summaryrefslogtreecommitdiff
path: root/misc/unix/errorcodes.c
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-05-27 21:40:18 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-05-27 21:40:18 +0000
commitfd2bc0661f223ffcc49a9f30b1cae793138185ae (patch)
tree49976f8a6a758bb0212665a432275bfc55dc8d10 /misc/unix/errorcodes.c
parent698b26c055a630c4853064d911c4a76090e43dc4 (diff)
downloadlibapr-fd2bc0661f223ffcc49a9f30b1cae793138185ae.tar.gz
Fix the dso error handling.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60108 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc/unix/errorcodes.c')
-rw-r--r--misc/unix/errorcodes.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/misc/unix/errorcodes.c b/misc/unix/errorcodes.c
index 044c87d74..f1f2d8acb 100644
--- a/misc/unix/errorcodes.c
+++ b/misc/unix/errorcodes.c
@@ -53,6 +53,7 @@
*/
#include "misc.h"
+#include "apr_dso.h"
#ifdef HAVE_NETDB_H
#include <netdb.h>
@@ -100,10 +101,8 @@ static char *apr_error_string(ap_status_t statcode)
return "No thread key structure was provided and one was required.";
case APR_ENOSHMAVAIL:
return "No shared memory is currently available";
-#ifndef WIN32
case APR_EDSOOPEN:
- return dlerror();
-#endif
+ return ap_dso_error();
case APR_INCHILD:
return
"Your code just forked, and you are currently executing in the "