1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
Description: Fix 'occured' typo, replace with 'occurred'.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: https://github.com/mapserver/mapcache/pull/141
Applied-Upstream: https://github.com/mapserver/mapcache/commit/ac20472ef5385bf205c500a4f6793453ecaddac5
--- a/include/mapcache.h
+++ b/include/mapcache.h
@@ -207,7 +207,7 @@ struct mapcache_context {
void (*set_exception)(mapcache_context *ctx, char *key, char *message, ...);
/**
- * \brief query context to know if an error has occured
+ * \brief query context to know if an error has occurred
* \memberof mapcache_context
*/
int (*get_error)(mapcache_context * ctx);
--- a/lib/cache_tiff.c
+++ b/lib/cache_tiff.c
@@ -317,7 +317,7 @@ static int _mapcache_cache_tiff_get(mapc
* we currrently have no way of knowing if the opening failed because the tif
* file does not exist (which is not an error condition, as it only signals
* that the requested tile does not exist in the cache), or if an other error
- * that should be signaled occured (access denied, not a tiff file, etc...)
+ * that should be signaled occurred (access denied, not a tiff file, etc...)
*
* we ignore this case here and hope that further parts of the code will be
* able to detect what's happening more precisely
--- a/lib/core.c
+++ b/lib/core.c
@@ -620,7 +620,7 @@ mapcache_http_response* mapcache_core_re
msg = ctx->_errmsg;
if(!msg) {
- msg = apr_pstrdup(ctx->pool,"an unspecified error has occured");
+ msg = apr_pstrdup(ctx->pool,"an unspecified error has occurred");
}
ctx->log(ctx,MAPCACHE_ERROR,msg);
|