summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormartin <martin@13f79535-47bb-0310-9956-ffa450edef68>2004-02-05 10:24:17 +0000
committermartin <martin@13f79535-47bb-0310-9956-ffa450edef68>2004-02-05 10:24:17 +0000
commitdaf7ca3df14ad8277acd78db6725a4d7841e38f7 (patch)
tree882f074279e082022e16779c69de1fb886f80610 /misc
parent217b55a171c484a12f0640c65f63c4c35fc6073f (diff)
downloadlibapr-daf7ca3df14ad8277acd78db6725a4d7841e38f7.tar.gz
The APR_EGENERAL error is used inside Apache for returning internal
error situations. However, when it was actually translated into a string, it read "Error string not specified yet". Add a string "Internal error" (and use "Error string not specified yet" for other (unspecified) APR errors). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64893 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc')
-rw-r--r--misc/unix/errorcodes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/unix/errorcodes.c b/misc/unix/errorcodes.c
index 77739065f..701a1510d 100644
--- a/misc/unix/errorcodes.c
+++ b/misc/unix/errorcodes.c
@@ -168,6 +168,8 @@ static char *apr_error_string(apr_status_t statcode)
return "The given path contained wildcard characters";
case APR_EPROC_UNKNOWN:
return "The process is not recognized.";
+ case APR_EGENERAL:
+ return "Internal error";
default:
return "Error string not specified yet";
}