]> git.kaiwu.me - nginx.git/commitdiff
long user-agent bugfix
authorIgor Sysoev <igor@sysoev.ru>
Mon, 25 Sep 2006 08:56:52 +0000 (08:56 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 25 Sep 2006 08:56:52 +0000 (08:56 +0000)
src/http/modules/ngx_http_browser_module.c

index 0c63780d06426a1c7a7b0bb7b9067936b775eab4..c39616719df94b1341e4891a2130c08ef682c27f 100644 (file)
@@ -244,7 +244,7 @@ ngx_http_browser_variable(ngx_http_request_t *r, ngx_http_variable_value_t *v,
         name += browsers[i].add;
 
         if (name >= last) {
-            *v = ngx_http_variable_null_value;
+            continue;
         }
 
         ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,