From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id B8E8826C14 for ; Tue, 17 Jul 2018 11:15:32 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TxMkaxH_m0wd for ; Tue, 17 Jul 2018 11:15:32 -0400 (EDT) Received: from smtp43.i.mail.ru (smtp43.i.mail.ru [94.100.177.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 1A8DD267F8 for ; Tue, 17 Jul 2018 11:15:32 -0400 (EDT) From: Olga Arkhangelskaia Subject: [tarantool-patches] [PATCH v2 0/2] Refactor in box and say modules. Date: Tue, 17 Jul 2018 18:15:19 +0300 Message-Id: <20180717151521.34679-1-arkholga@tarantool.org> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org Cc: Olga Arkhangelskaia This is small refactor that deletes double parametr check and throws notifications in case of strdup failure. There is no ticket for this changes. v2: - added strdup checks - Introduced new function say_check_cfg that encapsulates all checks. Olga Arkhangelskaia (2): Ractoring in string validation of log parametrs Added strdup fail checks in say src/box/box.cc | 29 +---------------------------- src/say.c | 51 ++++++++++++++++++++++++++++++++++++--------------- src/say.h | 9 ++++----- 3 files changed, 41 insertions(+), 48 deletions(-) -- 2.14.3 (Apple Git-98)