diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util/gnunet-config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/gnunet-config.c b/src/util/gnunet-config.c index b81b3b6a7..2ca78577e 100644 --- a/src/util/gnunet-config.c +++ b/src/util/gnunet-config.c | |||
@@ -40,11 +40,13 @@ static char *backend_check; | |||
40 | */ | 40 | */ |
41 | static int cflags; | 41 | static int cflags; |
42 | 42 | ||
43 | |||
43 | /** | 44 | /** |
44 | * If printing the value of LIBS has been requested. | 45 | * If printing the value of LIBS has been requested. |
45 | */ | 46 | */ |
46 | static int libs; | 47 | static int libs; |
47 | 48 | ||
49 | |||
48 | /** | 50 | /** |
49 | * If printing the value of PREFIX has been requested. | 51 | * If printing the value of PREFIX has been requested. |
50 | */ | 52 | */ |
@@ -75,6 +77,7 @@ run (void *cls, | |||
75 | { | 77 | { |
76 | char *prefixdir = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_PREFIX); | 78 | char *prefixdir = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_PREFIX); |
77 | char *libdir = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_LIBDIR); | 79 | char *libdir = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_LIBDIR); |
80 | |||
78 | if (1 == cflags) | 81 | if (1 == cflags) |
79 | { | 82 | { |
80 | fprintf (stdout, "-I%sinclude\n", prefixdir); | 83 | fprintf (stdout, "-I%sinclude\n", prefixdir); |
@@ -87,6 +90,7 @@ run (void *cls, | |||
87 | { | 90 | { |
88 | fprintf (stdout, "%s\n", prefixdir); | 91 | fprintf (stdout, "%s\n", prefixdir); |
89 | } | 92 | } |
93 | cs->global_ret = 0; | ||
90 | GNUNET_free (prefixdir); | 94 | GNUNET_free (prefixdir); |
91 | GNUNET_free (libdir); | 95 | GNUNET_free (libdir); |
92 | return; | 96 | return; |