Mercurial > hg > nginx
comparison src/http/ngx_http_postpone_filter_module.c @ 5218:f026adb935ad
Fixed error logging.
The provided argument list didn't follow a used format string.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 21 May 2013 17:30:19 +0400 |
parents | 586969d972b9 |
children | d87f29d764ce |
comparison
equal
deleted
inserted
replaced
5217:ddba4e308ecc | 5218:f026adb935ad |
---|---|
68 } | 68 } |
69 | 69 |
70 #if 0 | 70 #if 0 |
71 /* TODO: SSI may pass NULL */ | 71 /* TODO: SSI may pass NULL */ |
72 ngx_log_error(NGX_LOG_ALERT, c->log, 0, | 72 ngx_log_error(NGX_LOG_ALERT, c->log, 0, |
73 "http postpone filter NULL inactive request", | 73 "http postpone filter NULL inactive request"); |
74 &r->uri, &r->args); | |
75 #endif | 74 #endif |
76 | 75 |
77 return NGX_OK; | 76 return NGX_OK; |
78 } | 77 } |
79 | 78 |
106 return ngx_http_post_request(pr->request, NULL); | 105 return ngx_http_post_request(pr->request, NULL); |
107 } | 106 } |
108 | 107 |
109 if (pr->out == NULL) { | 108 if (pr->out == NULL) { |
110 ngx_log_error(NGX_LOG_ALERT, c->log, 0, | 109 ngx_log_error(NGX_LOG_ALERT, c->log, 0, |
111 "http postpone filter NULL output", | 110 "http postpone filter NULL output"); |
112 &r->uri, &r->args); | |
113 | 111 |
114 } else { | 112 } else { |
115 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0, | 113 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0, |
116 "http postpone filter output \"%V?%V\"", | 114 "http postpone filter output \"%V?%V\"", |
117 &r->uri, &r->args); | 115 &r->uri, &r->args); |