diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-05-27 21:40:18 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-05-27 21:40:18 +0000 |
commit | fd2bc0661f223ffcc49a9f30b1cae793138185ae (patch) | |
tree | 49976f8a6a758bb0212665a432275bfc55dc8d10 /misc/unix/errorcodes.c | |
parent | 698b26c055a630c4853064d911c4a76090e43dc4 (diff) | |
download | libapr-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.c | 5 |
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 " |