diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
commit | 61c39c60565b386e0e12ea669556b030e8cd7180 (patch) | |
tree | 59109aeab8297bdc996faca8c4e38ec7426c36cf /src/datastore/gnunet-datastore.c | |
parent | 780eb09dd8040ecf8649d40ddf8314464e0fc48e (diff) | |
download | gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.tar.gz gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.zip |
-remove trailing whitespace
Diffstat (limited to 'src/datastore/gnunet-datastore.c')
-rw-r--r-- | src/datastore/gnunet-datastore.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/datastore/gnunet-datastore.c b/src/datastore/gnunet-datastore.c index 4388818d7..9daad04c7 100644 --- a/src/datastore/gnunet-datastore.c +++ b/src/datastore/gnunet-datastore.c | |||
@@ -84,7 +84,7 @@ do_shutdown (void *cls, | |||
84 | /** | 84 | /** |
85 | * Perform next GET operation. | 85 | * Perform next GET operation. |
86 | */ | 86 | */ |
87 | static void | 87 | static void |
88 | do_get (void); | 88 | do_get (void); |
89 | 89 | ||
90 | 90 | ||
@@ -101,7 +101,7 @@ do_get (void); | |||
101 | * space for 0-priority content | 101 | * space for 0-priority content |
102 | * @param msg NULL on success, otherwise an error message | 102 | * @param msg NULL on success, otherwise an error message |
103 | */ | 103 | */ |
104 | static void | 104 | static void |
105 | do_finish (void *cls, | 105 | do_finish (void *cls, |
106 | int32_t success, | 106 | int32_t success, |
107 | struct GNUNET_TIME_Absolute min_expiration, | 107 | struct GNUNET_TIME_Absolute min_expiration, |
@@ -135,7 +135,7 @@ do_finish (void *cls, | |||
135 | * @param uid unique identifier for the datum; | 135 | * @param uid unique identifier for the datum; |
136 | * maybe 0 if no unique identifier is available | 136 | * maybe 0 if no unique identifier is available |
137 | */ | 137 | */ |
138 | static void | 138 | static void |
139 | do_put (void *cls, | 139 | do_put (void *cls, |
140 | const struct GNUNET_HashCode *key, | 140 | const struct GNUNET_HashCode *key, |
141 | size_t size, const void *data, | 141 | size_t size, const void *data, |
@@ -156,8 +156,8 @@ do_put (void *cls, | |||
156 | first_uid = uid; | 156 | first_uid = uid; |
157 | qe = GNUNET_DATASTORE_put (db_dst, 0, | 157 | qe = GNUNET_DATASTORE_put (db_dst, 0, |
158 | key, size, data, type, | 158 | key, size, data, type, |
159 | priority, anonymity, | 159 | priority, anonymity, |
160 | 0 /* FIXME: replication is lost... */, | 160 | 0 /* FIXME: replication is lost... */, |
161 | expiration, | 161 | expiration, |
162 | 0, 1, GNUNET_TIME_UNIT_FOREVER_REL, | 162 | 0, 1, GNUNET_TIME_UNIT_FOREVER_REL, |
163 | &do_finish, NULL); | 163 | &do_finish, NULL); |
@@ -167,7 +167,7 @@ do_put (void *cls, | |||
167 | /** | 167 | /** |
168 | * Perform next GET operation. | 168 | * Perform next GET operation. |
169 | */ | 169 | */ |
170 | static void | 170 | static void |
171 | do_get () | 171 | do_get () |
172 | { | 172 | { |
173 | qe = GNUNET_DATASTORE_get_key (db_src, | 173 | qe = GNUNET_DATASTORE_get_key (db_src, |
@@ -185,7 +185,7 @@ do_get () | |||
185 | * | 185 | * |
186 | * @param cls closure | 186 | * @param cls closure |
187 | * @param args remaining command-line arguments | 187 | * @param args remaining command-line arguments |
188 | * @param cfgfile name of the configuration file used | 188 | * @param cfgfile name of the configuration file used |
189 | * @param cfg configuration -- for destination datastore | 189 | * @param cfg configuration -- for destination datastore |
190 | */ | 190 | */ |
191 | static void | 191 | static void |
@@ -196,7 +196,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
196 | return; /* nothing to be done */ | 196 | return; /* nothing to be done */ |
197 | if (0 == strcmp (cfgfile, alternative_cfg)) | 197 | if (0 == strcmp (cfgfile, alternative_cfg)) |
198 | { | 198 | { |
199 | fprintf (stderr, | 199 | fprintf (stderr, |
200 | _("Cannot use the same configuration for source and destination\n")); | 200 | _("Cannot use the same configuration for source and destination\n")); |
201 | ret = 1; | 201 | ret = 1; |
202 | return; | 202 | return; |
@@ -253,7 +253,7 @@ main (int argc, char *const *argv) | |||
253 | if (GNUNET_OK != | 253 | if (GNUNET_OK != |
254 | GNUNET_PROGRAM_run (argc, argv, "gnunet-datastore", | 254 | GNUNET_PROGRAM_run (argc, argv, "gnunet-datastore", |
255 | gettext_noop ("Manipulate GNUnet datastore"), | 255 | gettext_noop ("Manipulate GNUnet datastore"), |
256 | options, &run, NULL)) | 256 | options, &run, NULL)) |
257 | ret = 1; | 257 | ret = 1; |
258 | GNUNET_free ((void*) argv); | 258 | GNUNET_free ((void*) argv); |
259 | return ret; | 259 | return ret; |