diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-26 20:25:37 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-04-26 20:25:37 +0200 |
commit | aa78134a557079ce570345e751e4c36c4b2ba79a (patch) | |
tree | f7bf25950513285184e2426109235337d0aef8be /src/exit | |
parent | 1f2674fe293be7c1a852fbe4a7241fbcb149078f (diff) | |
download | gnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.tar.gz gnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.zip |
-fix many more typos
Diffstat (limited to 'src/exit')
-rw-r--r-- | src/exit/gnunet-daemon-exit.c | 8 | ||||
-rw-r--r-- | src/exit/gnunet-helper-exit.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c index 27eba018f..f4a17e32a 100644 --- a/src/exit/gnunet-daemon-exit.c +++ b/src/exit/gnunet-daemon-exit.c | |||
@@ -530,7 +530,7 @@ handle_dns_request (void *cls, | |||
530 | size_t mlen = ntohs (msg->header.size); | 530 | size_t mlen = ntohs (msg->header.size); |
531 | size_t dlen = mlen - sizeof(struct GNUNET_MessageHeader); | 531 | size_t dlen = mlen - sizeof(struct GNUNET_MessageHeader); |
532 | char buf[dlen] GNUNET_ALIGN; | 532 | char buf[dlen] GNUNET_ALIGN; |
533 | struct GNUNET_TUN_DnsHeader *dout; | 533 | struct GNUNET_TUN_DnsHeader *dns_out; |
534 | 534 | ||
535 | if (GNUNET_SYSERR == ts->is_dns) | 535 | if (GNUNET_SYSERR == ts->is_dns) |
536 | { | 536 | { |
@@ -548,8 +548,8 @@ handle_dns_request (void *cls, | |||
548 | GNUNET_memcpy (buf, | 548 | GNUNET_memcpy (buf, |
549 | &msg->dns, | 549 | &msg->dns, |
550 | dlen); | 550 | dlen); |
551 | dout = (struct GNUNET_TUN_DnsHeader *) buf; | 551 | dns_out = (struct GNUNET_TUN_DnsHeader *) buf; |
552 | dout->id = ts->specifics.dns.my_id; | 552 | dns_out->id = ts->specifics.dns.my_id; |
553 | ts->specifics.dns.rs = GNUNET_DNSSTUB_resolve (dnsstub, | 553 | ts->specifics.dns.rs = GNUNET_DNSSTUB_resolve (dnsstub, |
554 | buf, | 554 | buf, |
555 | dlen, | 555 | dlen, |
@@ -2301,7 +2301,7 @@ handle_icmp_service (void *cls, | |||
2301 | setup_state_record (state); | 2301 | setup_state_record (state); |
2302 | 2302 | ||
2303 | /* check that ICMP type is something we want to support, | 2303 | /* check that ICMP type is something we want to support, |
2304 | perform ICMP PT if needed ans possibly make up payload */ | 2304 | perform ICMP PT if needed and possibly make up payload */ |
2305 | switch (msg->af) | 2305 | switch (msg->af) |
2306 | { | 2306 | { |
2307 | case AF_INET: | 2307 | case AF_INET: |
diff --git a/src/exit/gnunet-helper-exit.c b/src/exit/gnunet-helper-exit.c index 4a6c66deb..4f32ea1f1 100644 --- a/src/exit/gnunet-helper-exit.c +++ b/src/exit/gnunet-helper-exit.c | |||
@@ -188,7 +188,7 @@ fork_and_exec (const char *file, | |||
188 | /** | 188 | /** |
189 | * Creates a tun-interface called dev; | 189 | * Creates a tun-interface called dev; |
190 | * | 190 | * |
191 | * @param dev is asumed to point to a char[IFNAMSIZ] | 191 | * @param dev is assumed to point to a char[IFNAMSIZ] |
192 | * if *dev == '\\0', uses the name supplied by the kernel; | 192 | * if *dev == '\\0', uses the name supplied by the kernel; |
193 | * @return the fd to the tun or -1 on error | 193 | * @return the fd to the tun or -1 on error |
194 | */ | 194 | */ |