aboutsummaryrefslogtreecommitdiff
path: root/src/gns/nss
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/gns/nss
parent5f38569fce2e77afeed58cbd3429c67bf8ab9109 (diff)
downloadgnunet-d17a17ea785f91c18b5694eab3372c4e4564d95e.tar.gz
gnunet-d17a17ea785f91c18b5694eab3372c4e4564d95e.zip
fix pointer indentation
Diffstat (limited to 'src/gns/nss')
-rw-r--r--src/gns/nss/nss_gns.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gns/nss/nss_gns.c b/src/gns/nss/nss_gns.c
index beae4d15e..36799ba3a 100644
--- a/src/gns/nss/nss_gns.c
+++ b/src/gns/nss/nss_gns.c
@@ -139,8 +139,8 @@ _nss_gns_gethostbyname2_r (const char *name,
139 goto finish; 139 goto finish;
140 } 140 }
141 /* Alias names */ 141 /* Alias names */
142 *((char**) buffer) = NULL; 142 *((char **) buffer) = NULL;
143 result->h_aliases = (char**) buffer; 143 result->h_aliases = (char **) buffer;
144 idx = sizeof(char*); 144 idx = sizeof(char*);
145 145
146 /* Official name */ 146 /* Official name */
@@ -175,9 +175,9 @@ _nss_gns_gethostbyname2_r (const char *name,
175 175
176 /* Address array address_length is always a multiple of 32bits */ 176 /* Address array address_length is always a multiple of 32bits */
177 for (i = 0; i < u.count; i++) 177 for (i = 0; i < u.count; i++)
178 ((char**) (buffer + idx))[i] = buffer + astart + address_length * i; 178 ((char **) (buffer + idx))[i] = buffer + astart + address_length * i;
179 ((char**) (buffer + idx))[i] = NULL; 179 ((char **) (buffer + idx))[i] = NULL;
180 result->h_addr_list = (char**) (buffer + idx); 180 result->h_addr_list = (char **) (buffer + idx);
181 181
182 status = NSS_STATUS_SUCCESS; 182 status = NSS_STATUS_SUCCESS;
183 183