Code tidyup
This commit is contained in:
parent
1437d3f18a
commit
f88969c214
@ -29,4 +29,5 @@ ROOT_PATH := /home/mriddoch/Repository/maxscale
|
||||
# specifically here
|
||||
ifndef $(MARIADB_SRC_PATH)
|
||||
MARIADB_SRC_PATH := /packages/mariadb-5.5.25
|
||||
MARIADB_SRC_PATH := /home/mpinto/mariadb-5.5.34/
|
||||
endif
|
||||
|
@ -473,7 +473,7 @@ int main(int argc, char **argv)
|
||||
/**
|
||||
* 1. Resolve config file location from command-line argument.
|
||||
*/
|
||||
if ((r = strncmp(argv[n], "-c", 2)) == 0)
|
||||
if (strncmp(argv[n], "-c", 2) == 0)
|
||||
{
|
||||
if (argv[n][2] != 0)
|
||||
cnf_file = &argv[n][2];
|
||||
|
Loading…
x
Reference in New Issue
Block a user