Mercurial > hg > nginx
comparison src/http/ngx_http_variables.c @ 732:5e42c1615f4d release-0.4.4
nginx-0.4.4-RELEASE
fix msvc build failure introduced by previous commit
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 02 Oct 2006 11:44:21 +0000 |
parents | 44161d685b8a |
children | 75d767d32624 |
comparison
equal
deleted
inserted
replaced
731:44161d685b8a | 732:5e42c1615f4d |
---|---|
784 if (r->connection->ssl) { | 784 if (r->connection->ssl) { |
785 v->len = sizeof("https") - 1; | 785 v->len = sizeof("https") - 1; |
786 v->valid = 1; | 786 v->valid = 1; |
787 v->no_cachable = 0; | 787 v->no_cachable = 0; |
788 v->not_found = 0; | 788 v->not_found = 0; |
789 v->data = "https"; | 789 v->data = (u_char *) "https"; |
790 | 790 |
791 return NGX_OK; | 791 return NGX_OK; |
792 } | 792 } |
793 | 793 |
794 #endif | 794 #endif |
795 | 795 |
796 v->len = sizeof("http") - 1; | 796 v->len = sizeof("http") - 1; |
797 v->valid = 1; | 797 v->valid = 1; |
798 v->no_cachable = 0; | 798 v->no_cachable = 0; |
799 v->not_found = 0; | 799 v->not_found = 0; |
800 v->data = "http"; | 800 v->data = (u_char *) "http"; |
801 | 801 |
802 return NGX_OK; | 802 return NGX_OK; |
803 } | 803 } |
804 | 804 |
805 | 805 |