Style: use ngx_str_null().

This commit is contained in:
Tatsuhiko Kubo 2014-07-09 23:22:14 +09:00
parent bb4edb5cef
commit ef2b59699a

View File

@ -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;
} }