diff options
Diffstat (limited to 'src/util/test_configuration.c')
-rw-r--r-- | src/util/test_configuration.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util/test_configuration.c b/src/util/test_configuration.c index c3a773ab6..6227a28db 100644 --- a/src/util/test_configuration.c +++ b/src/util/test_configuration.c | |||
@@ -123,7 +123,7 @@ diffsCallBack (void *cls, const char *section, const char *option, | |||
123 | option, &diffValue); | 123 | option, &diffValue); |
124 | if (NULL != diffValue) | 124 | if (NULL != diffValue) |
125 | { | 125 | { |
126 | if ((ret == GNUNET_SYSERR) ||(strcmp (diffValue, value) != 0) ) | 126 | if ((ret == GNUNET_SYSERR) || (strcmp (diffValue, value) != 0) ) |
127 | cbData->status = 1; | 127 | cbData->status = 1; |
128 | } | 128 | } |
129 | else | 129 | else |
@@ -204,6 +204,7 @@ editConfiguration (struct GNUNET_CONFIGURATION_Handle *cfg, int option) | |||
204 | return diffsCB.cfgDiffs; | 204 | return diffsCB.cfgDiffs; |
205 | } | 205 | } |
206 | 206 | ||
207 | |||
207 | /** | 208 | /** |
208 | * Checking configuration diffs | 209 | * Checking configuration diffs |
209 | */ | 210 | */ |
@@ -349,6 +350,7 @@ testConfig () | |||
349 | return 0; | 350 | return 0; |
350 | } | 351 | } |
351 | 352 | ||
353 | |||
352 | static const char *want[] = { | 354 | static const char *want[] = { |
353 | "/Hello", | 355 | "/Hello", |
354 | "/File Name", | 356 | "/File Name", |
@@ -371,6 +373,7 @@ check (void *data, const char *fn) | |||
371 | return GNUNET_SYSERR; | 373 | return GNUNET_SYSERR; |
372 | } | 374 | } |
373 | 375 | ||
376 | |||
374 | static int | 377 | static int |
375 | testConfigFilenames () | 378 | testConfigFilenames () |
376 | { | 379 | { |