diff options
Diffstat (limited to 'src/util/configuration.c')
-rw-r--r-- | src/util/configuration.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/configuration.c b/src/util/configuration.c index ca27b5aef..3d9281e8d 100644 --- a/src/util/configuration.c +++ b/src/util/configuration.c | |||
@@ -1632,7 +1632,7 @@ GNUNET_CONFIGURATION_load (struct GNUNET_CONFIGURATION_Handle *cfg, | |||
1632 | char *ipath; | 1632 | char *ipath; |
1633 | 1633 | ||
1634 | ipath = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_DATADIR); | 1634 | ipath = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_DATADIR); |
1635 | if (ipath == NULL) | 1635 | if (NULL == ipath) |
1636 | return GNUNET_SYSERR; | 1636 | return GNUNET_SYSERR; |
1637 | baseconfig = NULL; | 1637 | baseconfig = NULL; |
1638 | GNUNET_asprintf (&baseconfig, "%s%s", ipath, "config.d"); | 1638 | GNUNET_asprintf (&baseconfig, "%s%s", ipath, "config.d"); |
@@ -1644,7 +1644,7 @@ GNUNET_CONFIGURATION_load (struct GNUNET_CONFIGURATION_Handle *cfg, | |||
1644 | return GNUNET_SYSERR; /* no configuration at all found */ | 1644 | return GNUNET_SYSERR; /* no configuration at all found */ |
1645 | } | 1645 | } |
1646 | GNUNET_free (baseconfig); | 1646 | GNUNET_free (baseconfig); |
1647 | if ((filename != NULL) && | 1647 | if ((NULL != filename) && |
1648 | (GNUNET_OK != GNUNET_CONFIGURATION_parse (cfg, filename))) | 1648 | (GNUNET_OK != GNUNET_CONFIGURATION_parse (cfg, filename))) |
1649 | { | 1649 | { |
1650 | /* specified configuration not found */ | 1650 | /* specified configuration not found */ |