Fix off-by-one error in url rewrite for SSL.

This commit is contained in:
Klaas Freitag 2012-02-22 15:17:35 +01:00 committed by Andreas Schneider
parent d7e13276e5
commit 784fc60ec1

View File

@ -257,8 +257,8 @@ retry_vio_init:
if (rc < 0) {
len = strlen(module);
if (module[len] == 's') {
module[len] = '\0';
if (module[len-1] == 's') {
module[len-1] = '\0';
goto retry_vio_init;
}