Code tidyup

This commit is contained in:
Mark Riddoch 2013-11-25 16:53:17 +01:00
parent 1437d3f18a
commit f88969c214
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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];