]> granicus.if.org Git - apache/commitdiff
mod_session_dbd: Use apr_status_t as a return code across the mod_session API.
authorGraham Leggett <minfrin@apache.org>
Fri, 2 Dec 2011 18:14:52 +0000 (18:14 +0000)
committerGraham Leggett <minfrin@apache.org>
Fri, 2 Dec 2011 18:14:52 +0000 (18:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209618 13f79535-47bb-0310-9956-ffa450edef68

modules/session/mod_session_dbd.c

index 3feae97bda91b017791adca0648a42cef908012d..8e8e2f054a7380f492175cb97b6493cb5f12f0a5 100644 (file)
@@ -161,7 +161,7 @@ static apr_status_t dbd_load(request_rec * r, const char *key, const char **val)
  *
  * On success, this returns OK.
  */
-static int session_dbd_load(request_rec * r, session_rec ** z)
+static apr_status_t session_dbd_load(request_rec * r, session_rec ** z)
 {
 
     session_dbd_dir_conf *conf = ap_get_module_config(r->per_dir_config,
@@ -402,7 +402,7 @@ static apr_status_t dbd_clean(apr_pool_t *p, server_rec *s)
  * @param r The request pointer.
  * @param z A pointer to where the session will be written.
  */
-static int session_dbd_save(request_rec * r, session_rec * z)
+static apr_status_t session_dbd_save(request_rec * r, session_rec * z)
 {
 
     char *buffer;