}
} else if (ch == ' ' || ch == '\t' || ch == CR || ch == LF
- || ch == ';' || ch == '{') {
+ || ch == ';' || ch == '{')
+ {
last_space = 1;
found = 1;
}
p += sizeof(ngx_resolver_query_t);
- for (n = 0; n < 32; n += 8){
+ for (n = 0; n < 32; n += 8) {
d = ngx_sprintf(&p[1], "%ud", (ctx->addr >> n) & 0xff);
*p = (u_char) (d - &p[1]);
p = d;
len = a->nelts * sizeof(ngx_http_geo_range_t);
ctx.high->low[i].ranges = ngx_palloc(cf->pool, len);
- if (ctx.high->low[i].ranges == NULL ){
+ if (ctx.high->low[i].ranges == NULL) {
return NGX_CONF_ERROR;
}
goto failed;
}
- if (ngx_conf_full_name(cf->cycle, &file, 1) != NGX_OK){
+ if (ngx_conf_full_name(cf->cycle, &file, 1) != NGX_OK) {
goto failed;
}
if (ngx_strcmp(value[0].data, "include") == 0) {
file = value[1];
- if (ngx_conf_full_name(cf->cycle, &file, 1) != NGX_OK){
+ if (ngx_conf_full_name(cf->cycle, &file, 1) != NGX_OK) {
return NGX_CONF_ERROR;
}
while (ctx->in || ctx->buf) {
- if (ctx->buf == NULL ){
+ if (ctx->buf == NULL) {
ctx->buf = ctx->in->buf;
ctx->in = ctx->in->next;
ctx->pos = ctx->buf->pos;
while (ctx->in || ctx->buf) {
- if (ctx->buf == NULL ){
+ if (ctx->buf == NULL) {
ctx->buf = ctx->in->buf;
ctx->in = ctx->in->next;
ctx->pos = ctx->buf->pos;
if (ngx_http_xslt_add_chunk(r, ctx, cl->buf) != NGX_OK) {
- if (ctx->ctxt->myDoc){
+ if (ctx->ctxt->myDoc) {
#if (NGX_HTTP_XSLT_REUSE_DTD)
ctx->ctxt->myDoc->extSubset = NULL;
/* space* before URI */
case sw_spaces_before_uri:
- if (ch == '/' ){
+ if (ch == '/') {
r->uri_start = p;
state = sw_after_slash_in_uri;
break;
#endif
plain.data = ngx_pnalloc(c->pool, ngx_base64_decoded_length(arg[n].len));
- if (plain.data == NULL){
+ if (plain.data == NULL) {
return NGX_ERROR;
}
"mail auth login username: \"%V\"", &arg[n]);
s->login.data = ngx_pnalloc(c->pool, ngx_base64_decoded_length(arg[n].len));
- if (s->login.data == NULL){
+ if (s->login.data == NULL) {
return NGX_ERROR;
}
s->passwd.data = ngx_pnalloc(c->pool,
ngx_base64_decoded_length(arg[0].len));
- if (s->passwd.data == NULL){
+ if (s->passwd.data == NULL) {
return NGX_ERROR;
}
"mail auth cram-md5: \"%V\"", &arg[0]);
s->login.data = ngx_pnalloc(c->pool, ngx_base64_decoded_length(arg[0].len));
- if (s->login.data == NULL){
+ if (s->login.data == NULL) {
return NGX_ERROR;
}
rev->ready = 0;
- if (n == NGX_ERROR){
+ if (n == NGX_ERROR) {
c->read->error = 1;
}
rev->ready = 0;
- if (n == NGX_ERROR){
+ if (n == NGX_ERROR) {
c->read->error = 1;
}
rev->ready = 0;
- if (n == NGX_ERROR){
+ if (n == NGX_ERROR) {
rev->error = 1;
}
rev->ready = 0;
- if (n == NGX_ERROR){
+ if (n == NGX_ERROR) {
rev->error = 1;
}
rev->ready = 0;
- if (n == NGX_ERROR){
+ if (n == NGX_ERROR) {
rev->error = 1;
}
rev->ready = 0;
- if (n == NGX_ERROR){
+ if (n == NGX_ERROR) {
rev->error = 1;
}
n = ngx_connection_error(c, err, "WSARecv() failed");
- if (n == NGX_ERROR){
+ if (n == NGX_ERROR) {
rev->error = 1;
}
n = ngx_connection_error(c, err, "WSARecv() failed");
- if (n == NGX_ERROR){
+ if (n == NGX_ERROR) {
rev->error = 1;
}