[tarantool-patches] [PATCH] Refactoring in string validation of log parametrs
Olga Arkhangelskaia
arkholga at tarantool.org
Tue Jul 10 11:10:05 MSK 2018
Log type check happens twise. This patch deletes
unnecessary check
Signed-off-by: Olga Arkhangelskaia <arkholga at tarantool.org>
---
src/box/box.cc | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/box/box.cc b/src/box/box.cc
index 033829a7f..464018f35 100644
--- a/src/box/box.cc
+++ b/src/box/box.cc
@@ -342,11 +342,6 @@ box_check_say()
diag_last_error(diag_get())->errmsg);
}
- if (say_check_init_str(log) == -1) {
-
- diag_raise();
- }
-
if (type == SAY_LOGGER_SYSLOG) {
struct say_syslog_opts opts;
if (say_parse_syslog_opts(log, &opts) < 0) {
--
2.14.3 (Apple Git-98)
More information about the Tarantool-patches
mailing list