1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Portability fixes

Fix bug when using option groups
This commit is contained in:
monty@hundin.mysql.fi
2002-03-06 22:12:08 +02:00
parent fa38c84be7
commit b5a4f89ea6
3 changed files with 3 additions and 4 deletions

View File

@ -737,7 +737,7 @@ static void mysql_read_default_options(struct st_mysql_options *options,
*end=0; /* Remove '=' */
}
/* Change all '_' in variable name to '-' */
for (end= *option ; (end= strcend(end,'_')) && *end ; )
for (end= *option ; *(end= strcend(end,'_')) ; )
*end= '-';
switch (find_type(*option+2,&option_types,2)) {
case 1: /* port */