summaryrefslogtreecommitdiff
path: root/ares_init.c
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
commit7ff288f0b98fd0c4dc2299d556a4a7a71b0505c2 (patch)
tree8d09a2e938e7722343ff0ebf9c9978c9ab889bd2 /ares_init.c
parentf31add0695b9a0ce9edb5bbffde0ebb2f5500e72 (diff)
downloadc-ares-7ff288f0b98fd0c4dc2299d556a4a7a71b0505c2.tar.gz
c-ares-7ff288f0b98fd0c4dc2299d556a4a7a71b0505c2.tar.bz2
c-ares-7ff288f0b98fd0c4dc2299d556a4a7a71b0505c2.zip
minor indent fix
Diffstat (limited to 'ares_init.c')
-rw-r--r--ares_init.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ares_init.c b/ares_init.c
index 55c0b93..79a9f0f 100644
--- a/ares_init.c
+++ b/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;
}