diff options
author | Phil <phil.buschmann@tum.de> | 2018-06-04 23:50:13 +0200 |
---|---|---|
committer | Phil <phil.buschmann@tum.de> | 2018-06-04 23:50:13 +0200 |
commit | bd01c63635f13a47bc295255e9485b785921f797 (patch) | |
tree | 058bca7c472eba5144cf89da69223f152dae353d /src/datacache/plugin_datacache_postgres.c | |
parent | 4ab30f893f22c75d1aafcc9584cd7eac6c4d82a0 (diff) | |
parent | 324f6168c2374d7bb71c3632fb6521860d8fdfa1 (diff) | |
download | gnunet-bd01c63635f13a47bc295255e9485b785921f797.tar.gz gnunet-bd01c63635f13a47bc295255e9485b785921f797.zip |
-merge branch 'master' of ssh://gnunet.org/gnunet into gsoc2018/rest_api
Diffstat (limited to 'src/datacache/plugin_datacache_postgres.c')
-rw-r--r-- | src/datacache/plugin_datacache_postgres.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/datacache/plugin_datacache_postgres.c b/src/datacache/plugin_datacache_postgres.c index 2c233c4c2..c6ccfb210 100644 --- a/src/datacache/plugin_datacache_postgres.c +++ b/src/datacache/plugin_datacache_postgres.c | |||
@@ -141,6 +141,7 @@ init_connection (struct Plugin *plugin) | |||
141 | * | 141 | * |
142 | * @param cls closure (our `struct Plugin`) | 142 | * @param cls closure (our `struct Plugin`) |
143 | * @param key key to store @a data under | 143 | * @param key key to store @a data under |
144 | * @param am_closest are we the closest peer? | ||
144 | * @param data_size number of bytes in @a data | 145 | * @param data_size number of bytes in @a data |
145 | * @param data data to store | 146 | * @param data data to store |
146 | * @param type type of the value | 147 | * @param type type of the value |
@@ -152,6 +153,7 @@ init_connection (struct Plugin *plugin) | |||
152 | static ssize_t | 153 | static ssize_t |
153 | postgres_plugin_put (void *cls, | 154 | postgres_plugin_put (void *cls, |
154 | const struct GNUNET_HashCode *key, | 155 | const struct GNUNET_HashCode *key, |
156 | int am_closest, | ||
155 | size_t data_size, | 157 | size_t data_size, |
156 | const char *data, | 158 | const char *data, |
157 | enum GNUNET_BLOCK_Type type, | 159 | enum GNUNET_BLOCK_Type type, |