Skip to content
This repository has been archived by the owner on Feb 18, 2023. It is now read-only.

Commit

Permalink
ccheck fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Aug 1, 2022
1 parent a3a1f27 commit b3b83f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/async.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ static int blocking_getaddr(void *arg)

/* Blocking */
err = getaddrinfo(test->domain, NULL, &hints, &res);
if (err)
if (err)
return EADDRNOTAVAIL;

sa_set_sa(&test->sa, res->ai_addr);
Expand Down Expand Up @@ -95,7 +95,7 @@ int test_async(void)
for (size_t i = 0; i < ARRAY_SIZE(testv); i++) {
err = re_async(async, blocking_getaddr, completed, &testv[i]);
TEST_ERR(err);
test_add++;
++test_add;
}

err = re_main_timeout(100);
Expand Down

0 comments on commit b3b83f9

Please sign in to comment.