1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

improved previous changeset per JimW's review

This commit is contained in:
reggie@fedora.(none)
2005-10-31 13:31:07 -05:00
parent 53089ec4e4
commit 27e8da7985
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 */
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);