apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject svn commit: r1779500 - /apr/apr/trunk/misc/unix/errorcodes.c
Date Thu, 19 Jan 2017 17:58:58 GMT
Author: dirkx
Date: Thu Jan 19 17:58:57 2017
New Revision: 1779500

URL: http://svn.apache.org/viewvc?rev=1779500&view=rev
Log:
Add a few error code strings that got lost/awal in the apr-util migration.

Modified:
    apr/apr/trunk/misc/unix/errorcodes.c

Modified: apr/apr/trunk/misc/unix/errorcodes.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/misc/unix/errorcodes.c?rev=1779500&r1=1779499&r2=1779500&view=diff
==============================================================================
--- apr/apr/trunk/misc/unix/errorcodes.c (original)
+++ apr/apr/trunk/misc/unix/errorcodes.c Thu Jan 19 17:58:57 2017
@@ -19,6 +19,8 @@
 #include "apr_lib.h"
 #include "apr_dso.h"
 
+#include "apu_errno.h"
+
 #if APR_HAVE_NETDB_H
 #include <netdb.h>
 #endif
@@ -139,6 +141,15 @@ static char *apr_error_string(apr_status
         return "The process is not recognized.";
     case APR_EGENERAL:
         return "Internal error (specific information not available)";
+
+/* APR Util error codes */
+    case APR_ECRYPT:
+        return "Internal error in the crypto subsystem (specific information not available)";
+    case APR_ENOENGINE:
+        return "No engine found for crypto subsystem";
+    case APR_EINITENGINE:
+        return "Failed to init engine for crypto subsystem";
+
     default:
         return "Error string not specified yet";
     }



Mime
View raw message