summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf_validation.c
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-02-07 15:34:42 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-02-07 15:34:42 +0300
commit949ba262cc7a833a717bbb271825c0ba72ad80b8 (patch)
treeeb32e0083b177ea42141a1b8208abad1ac714eab /src/nxt_conf_validation.c
parentd2c85a2d9e491a08222272b88b20c9398e06449b (diff)
downloadunit-949ba262cc7a833a717bbb271825c0ba72ad80b8.tar.gz
unit-949ba262cc7a833a717bbb271825c0ba72ad80b8.tar.bz2
Style fixes.
Diffstat (limited to 'src/nxt_conf_validation.c')
-rw-r--r--src/nxt_conf_validation.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c
index ea160d8e..bd36fdd2 100644
--- a/src/nxt_conf_validation.c
+++ b/src/nxt_conf_validation.c
@@ -584,7 +584,7 @@ nxt_conf_vldt_processes(nxt_conf_validation_t *vldt, nxt_conf_value_t *value,
if (proc.spare > NXT_INT32_T_MAX) {
return nxt_conf_vldt_error(vldt, "The \"spare\" number must not "
- "not exceed %d.", NXT_INT32_T_MAX);
+ "exceed %d.", NXT_INT32_T_MAX);
}
if (proc.max < 1) {
@@ -594,7 +594,7 @@ nxt_conf_vldt_processes(nxt_conf_validation_t *vldt, nxt_conf_value_t *value,
if (proc.max > NXT_INT32_T_MAX) {
return nxt_conf_vldt_error(vldt, "The \"max\" number must not "
- "not exceed %d.", NXT_INT32_T_MAX);
+ "exceed %d.", NXT_INT32_T_MAX);
}
if (proc.max < proc.spare) {
@@ -609,7 +609,7 @@ nxt_conf_vldt_processes(nxt_conf_validation_t *vldt, nxt_conf_value_t *value,
if (proc.idle_timeout > NXT_INT32_T_MAX / 1000) {
return nxt_conf_vldt_error(vldt, "The \"idle_timeout\" number must not "
- "not exceed %d.", NXT_INT32_T_MAX / 1000);
+ "exceed %d.", NXT_INT32_T_MAX / 1000);
}
return NXT_OK;
@@ -708,5 +708,3 @@ nxt_conf_vldt_group(nxt_conf_validation_t *vldt, char *group)
return NXT_ERROR;
}
-
-