mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
improved previous changeset per JimW's review
server-tools/instance-manager/instance_options.cc: fixed to coding guidelines server-tools/instance-manager/parse_output.cc: removed tabs and added call to trim_space
This commit is contained in:
@ -108,7 +108,7 @@ int parse_output_and_get_value(const char *command, const char *word,
|
||||
linep+= wordlen; /* swallow the previous one */
|
||||
if (flag & GET_VALUE)
|
||||
{
|
||||
get_word((const char **) &linep, &found_word_len, NONSPACE);
|
||||
trim_space((const char**) &linep, &found_word_len);
|
||||
if (input_buffer_len <= found_word_len)
|
||||
goto err;
|
||||
strmake(result, linep, found_word_len);
|
||||
|
Reference in New Issue
Block a user