1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

several fixes to the previous patch

server-tools/instance-manager/instance_options.cc:
  fix order of if branches
server-tools/instance-manager/instance_options.h:
  portability fix
server-tools/instance-manager/parse_output.cc:
  remove stupid comment
server-tools/instance-manager/parse_output.h:
  portability fix
This commit is contained in:
unknown
2005-06-07 17:57:20 +04:00
parent f250f8214a
commit 4e482bd3f2
4 changed files with 10 additions and 8 deletions

View File

@ -86,7 +86,7 @@ int parse_output_and_get_value(const char *command, const char *word,
an option value) or the whole line (if flag)
*/
linep+= found_word_len; /* swallow the previous one */
if (flag & GET_VALUE) /* not GET_LINE */
if (flag & GET_VALUE)
{
get_word((const char **) &linep, &found_word_len, NONSPACE);
if (input_buffer_len <= found_word_len)