diff --git a/modules/session/mod_session.c b/modules/session/mod_session.c
index 036e265..b66875e 100644
--- a/modules/session/mod_session.c
+++ b/modules/session/mod_session.c
@@ -308,7 +308,7 @@ static apr_status_t ap_session_set(request_rec * r, session_rec * z,
static int identity_count(int *count, const char *key, const char *val)
{
- *count += strlen(key) * 3 + strlen(val) * 3 + 1;
+ *count += strlen(key) * 3 + strlen(val) * 3 + 2;
return 1;
}