Skip to content

Commit ee7a994

Browse files
committed
style: fixed coding style issues found by ngx-releng.
1 parent b13b462 commit ee7a994

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/ngx_http_encrypted_session_module.c

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ ngx_http_set_encode_encrypted_session(ngx_http_request_t *r,
167167

168168
if (conf->key == NULL) {
169169
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
170-
"encrypted_session: a key is required to be "
171-
"defined by the encrypted_session_key directive");
170+
"encrypted_session: a key is required to be "
171+
"defined by the encrypted_session_key directive");
172172

173173
return NGX_ERROR;
174174
}
@@ -238,7 +238,8 @@ ngx_http_set_decode_encrypted_session(ngx_http_request_t *r,
238238
static char *
239239
ngx_http_encrypted_session_key(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
240240
{
241-
ngx_str_t *value;
241+
ngx_str_t *value;
242+
242243
ngx_http_encrypted_session_conf_t *llcf = conf;
243244

244245
if (llcf->key != NGX_CONF_UNSET_PTR) {
@@ -265,7 +266,8 @@ ngx_http_encrypted_session_key(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
265266
static char *
266267
ngx_http_encrypted_session_iv(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
267268
{
268-
ngx_str_t *value;
269+
ngx_str_t *value;
270+
269271
ngx_http_encrypted_session_conf_t *llcf = conf;
270272

271273
if (llcf->iv != NGX_CONF_UNSET_PTR) {
@@ -283,8 +285,7 @@ ngx_http_encrypted_session_iv(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
283285
return NGX_CONF_ERROR;
284286
}
285287

286-
llcf->iv = ngx_pcalloc(cf->pool,
287-
ngx_http_encrypted_session_iv_length);
288+
llcf->iv = ngx_pcalloc(cf->pool, ngx_http_encrypted_session_iv_length);
288289

289290
if (llcf->iv == NULL) {
290291
return NGX_CONF_ERROR;
@@ -320,7 +321,7 @@ ngx_http_encrypted_session_expires(ngx_conf_t *cf, ngx_command_t *cmd,
320321
return "invalid value";
321322
}
322323

323-
dd("expires: %d", (int)llcf->expires);
324+
dd("expires: %d", (int) llcf->expires);
324325

325326
return NGX_CONF_OK;
326327
}

0 commit comments

Comments
 (0)