1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +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:
unknown
2005-10-31 13:31:07 -05:00
parent 0125760fc8
commit 69f80875a6
2 changed files with 11 additions and 11 deletions

View File

@ -108,7 +108,7 @@ int parse_output_and_get_value(const char *command, const char *word,
linep+= wordlen; /* swallow the previous one */ linep+= wordlen; /* swallow the previous one */
if (flag & GET_VALUE) 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) if (input_buffer_len <= found_word_len)
goto err; goto err;
strmake(result, linep, found_word_len); strmake(result, linep, found_word_len);