aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-12-01 22:36:39 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-12-01 22:36:39 +0000
commitb062212e55a271e8829307fa82fec46dae4b3775 (patch)
tree2895b1795b17923bf8d0800732e768351299390f /ares
parent39eb96e9ffa4ba768223383351dd3c0447163ee5 (diff)
minor indent fix
Diffstat (limited to 'ares')
-rw-r--r--ares/ares_init.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ares/ares_init.c b/ares/ares_init.c
index 55c0b93ab..79a9f0f55 100644
--- a/ares/ares_init.c
+++ b/ares/ares_init.c
@@ -179,7 +179,7 @@ int ares_init_options(ares_channel *channelptr, struct ares_options *options,
*/
if (status == ARES_SUCCESS) {
- status = init_by_options(channel, options, optmask);
+ status = init_by_options(channel, options, optmask);
if (status != ARES_SUCCESS)
DEBUGF(fprintf(stderr, "Error: init_by_options failed: %s\n",
ares_strerror(status)));
@@ -430,7 +430,8 @@ static int init_by_options(ares_channel channel,
return ARES_ENOMEM;
for (i = 0; i < options->nsort; i++)
{
- memcpy(&(channel->sortlist[i]), &(options->sortlist[i]), sizeof(struct apattern));
+ memcpy(&(channel->sortlist[i]), &(options->sortlist[i]),
+ sizeof(struct apattern));
}
channel->nsort = options->nsort;
}