Mercurial > hg > nginx
comparison src/http/modules/ngx_http_ssi_filter_module.c @ 4593:834049edae24
Fixed grammar in error messages.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 12 Apr 2012 19:35:41 +0000 |
parents | 1f0ecc900010 |
children | 4a18bf1833a9 9be0b6b749ae |
comparison
equal
deleted
inserted
replaced
4592:ab1649495d30 | 4593:834049edae24 |
---|---|
2001 return NGX_HTTP_SSI_ERROR; | 2001 return NGX_HTTP_SSI_ERROR; |
2002 } | 2002 } |
2003 | 2003 |
2004 if (set && stub) { | 2004 if (set && stub) { |
2005 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, | 2005 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, |
2006 "\"set\" and \"stub\" may not be used together " | 2006 "\"set\" and \"stub\" cannot be used together " |
2007 "in \"include\" SSI command"); | 2007 "in \"include\" SSI command"); |
2008 return NGX_HTTP_SSI_ERROR; | 2008 return NGX_HTTP_SSI_ERROR; |
2009 } | 2009 } |
2010 | 2010 |
2011 if (wait) { | 2011 if (wait) { |
2012 if (uri == NULL) { | 2012 if (uri == NULL) { |
2013 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, | 2013 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, |
2014 "\"wait\" may not be used with file=\"%V\"", file); | 2014 "\"wait\" cannot be used with file=\"%V\"", file); |
2015 return NGX_HTTP_SSI_ERROR; | 2015 return NGX_HTTP_SSI_ERROR; |
2016 } | 2016 } |
2017 | 2017 |
2018 if (wait->len == 2 | 2018 if (wait->len == 2 |
2019 && ngx_strncasecmp(wait->data, (u_char *) "no", 2) == 0) | 2019 && ngx_strncasecmp(wait->data, (u_char *) "no", 2) == 0) |
2186 | 2186 |
2187 return NGX_AGAIN; | 2187 return NGX_AGAIN; |
2188 | 2188 |
2189 } else { | 2189 } else { |
2190 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, | 2190 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, |
2191 "only one subrequest may be waited at the same time"); | 2191 "can only wait for one subrequest at a time"); |
2192 } | 2192 } |
2193 | 2193 |
2194 return NGX_OK; | 2194 return NGX_OK; |
2195 } | 2195 } |
2196 | 2196 |