diff options
-rw-r--r-- | src/gnsrecord/Makefile.am | 2 | ||||
-rw-r--r-- | src/include/gnunet_buffer_lib.h | 3 | ||||
-rw-r--r-- | src/include/gnunet_uri_lib.h | 8 |
3 files changed, 8 insertions, 5 deletions
diff --git a/src/gnsrecord/Makefile.am b/src/gnsrecord/Makefile.am index 84d218519..ab604eb92 100644 --- a/src/gnsrecord/Makefile.am +++ b/src/gnsrecord/Makefile.am | |||
@@ -1,5 +1,5 @@ | |||
1 | # This Makefile.am is in the public domain | 1 | # This Makefile.am is in the public domain |
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | 2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include ${MHD_CFLAGS} |
3 | 3 | ||
4 | plugindir = $(libdir)/gnunet | 4 | plugindir = $(libdir)/gnunet |
5 | 5 | ||
diff --git a/src/include/gnunet_buffer_lib.h b/src/include/gnunet_buffer_lib.h index 0c566df75..7239eccfb 100644 --- a/src/include/gnunet_buffer_lib.h +++ b/src/include/gnunet_buffer_lib.h | |||
@@ -147,7 +147,8 @@ GNUNET_buffer_write_path (struct GNUNET_Buffer *buf, const char *str); | |||
147 | * @param ... format arguments | 147 | * @param ... format arguments |
148 | */ | 148 | */ |
149 | void | 149 | void |
150 | GNUNET_buffer_write_fstr (struct GNUNET_Buffer *buf, const char *fmt, ...); | 150 | GNUNET_buffer_write_fstr (struct GNUNET_Buffer *buf, const char *fmt, ...) |
151 | __attribute__ ((format (printf, 2, 3))); | ||
151 | 152 | ||
152 | 153 | ||
153 | /** | 154 | /** |
diff --git a/src/include/gnunet_uri_lib.h b/src/include/gnunet_uri_lib.h index d428bdd9a..57c9e9316 100644 --- a/src/include/gnunet_uri_lib.h +++ b/src/include/gnunet_uri_lib.h | |||
@@ -26,12 +26,13 @@ | |||
26 | /** | 26 | /** |
27 | * The struct where the parsed values will be stored: | 27 | * The struct where the parsed values will be stored: |
28 | * | 28 | * |
29 | * scheme ":" [ "//" ] [ username ":" password "@" ] host [ ":" port ] [ "/" ] [ path ] [ "?" query ] | 29 | * scheme ":" [ "//" ] [ username ":" password "@" ] host [ ":" port ] [ "/" ] [ path ] [ "?" query ] [ "#" fragment ] |
30 | * | 30 | * |
31 | * Note: to make sure that no strings are copied, the first slash "/" in the | 31 | * Note: to make sure that no strings are copied, the first slash "/" in the |
32 | * path will be used to null terminate the hostname if no port is supplied. | 32 | * path will be used to null terminate the hostname if no port is supplied. |
33 | */ | 33 | */ |
34 | struct GNUNET_Uri { | 34 | struct GNUNET_Uri |
35 | { | ||
35 | char *scheme; /* scheme, without ":" and "//" */ | 36 | char *scheme; /* scheme, without ":" and "//" */ |
36 | char *username; /* username, default: NULL */ | 37 | char *username; /* username, default: NULL */ |
37 | char *password; /* password, default: NULL */ | 38 | char *password; /* password, default: NULL */ |
@@ -44,7 +45,8 @@ struct GNUNET_Uri { | |||
44 | 45 | ||
45 | 46 | ||
46 | /* A struct to hold the query string parameter values. */ | 47 | /* A struct to hold the query string parameter values. */ |
47 | struct GNUNET_UriParam { | 48 | struct GNUNET_UriParam |
49 | { | ||
48 | char *key; | 50 | char *key; |
49 | char *val; | 51 | char *val; |
50 | }; | 52 | }; |