comparison src/http/modules/ngx_http_browser_module.c @ 2510:fa03c3846ca4

add debug logging
author Igor Sysoev <igor@sysoev.ru>
date Wed, 18 Feb 2009 09:24:14 +0000
parents b4661481f198
children c7d57b539248
comparison
equal deleted inserted replaced
2509:b4661481f198 2510:fa03c3846ca4
316 } 316 }
317 317
318 if (c == '.') { 318 if (c == '.') {
319 version += ver * scale; 319 version += ver * scale;
320 320
321 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
322 "version: \"%ui\" \"%ui\"",
323 modern[i].version, version);
324
321 if (version > modern[i].version) { 325 if (version > modern[i].version) {
322 return NGX_HTTP_MODERN_BROWSER; 326 return NGX_HTTP_MODERN_BROWSER;
323 } 327 }
324 328
325 ver = 0; 329 ver = 0;