aboutsummaryrefslogtreecommitdiff
path: root/src/json/json_helper.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-11-24 19:13:00 +0100
committerChristian Grothoff <christian@grothoff.org>2019-11-24 19:13:00 +0100
commitd17a17ea785f91c18b5694eab3372c4e4564d95e (patch)
treea7ee983fb1c0fa5a9210938024357cd9498ee344 /src/json/json_helper.c
parent5f38569fce2e77afeed58cbd3429c67bf8ab9109 (diff)
downloadgnunet-d17a17ea785f91c18b5694eab3372c4e4564d95e.tar.gz
gnunet-d17a17ea785f91c18b5694eab3372c4e4564d95e.zip
fix pointer indentation
Diffstat (limited to 'src/json/json_helper.c')
-rw-r--r--src/json/json_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c
index c3ba9c555..a9b933762 100644
--- a/src/json/json_helper.c
+++ b/src/json/json_helper.c
@@ -152,7 +152,7 @@ parse_variable_data (void *cls,
152 GNUNET_free (data); 152 GNUNET_free (data);
153 return GNUNET_SYSERR; 153 return GNUNET_SYSERR;
154 } 154 }
155 *(void**) spec->ptr = data; 155 *(void **) spec->ptr = data;
156 *spec->size_ptr = size; 156 *spec->size_ptr = size;
157 return GNUNET_OK; 157 return GNUNET_OK;
158} 158}
@@ -171,7 +171,7 @@ clean_variable_data (void *cls,
171 if (0 != *spec->size_ptr) 171 if (0 != *spec->size_ptr)
172 { 172 {
173 GNUNET_free (*(void **) spec->ptr); 173 GNUNET_free (*(void **) spec->ptr);
174 *(void**) spec->ptr = NULL; 174 *(void **) spec->ptr = NULL;
175 *spec->size_ptr = 0; 175 *spec->size_ptr = 0;
176 } 176 }
177} 177}