mirror of
https://github.com/nginx/nginx.git
synced 2024-12-05 06:19:01 +08:00
Style: use ngx_str_null().
This commit is contained in:
parent
bb4edb5cef
commit
ef2b59699a
@ -2722,8 +2722,7 @@ done:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (len == -1) {
|
if (len == -1) {
|
||||||
name->len = 0;
|
ngx_str_null(name);
|
||||||
name->data = NULL;
|
|
||||||
return NGX_OK;
|
return NGX_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user