[Slirp] [Git][slirp/libslirp][master] 2 commits: src/ip: Fix typos in comments
Samuel Thibault (@sthibaul)
gitlab at gitlab.freedesktop.org
Tue May 25 16:31:25 UTC 2021
Samuel Thibault pushed to branch master at slirp / libslirp
Commits:
a54479fc by Thomas Huth at 2021-05-25T18:14:08+02:00
src/ip: Fix typos in comments
Found with the "codespell" utility.
Signed-off-by: Thomas Huth <thuth at redhat.com>
- - - - -
dfe1229f by Samuel Thibault at 2021-05-25T16:31:24+00:00
Merge branch 'fixes' into 'master'
Fix typos in comments
See merge request slirp/libslirp!88
- - - - -
2 changed files:
- src/ip_icmp.c
- src/ip_input.c
Changes:
=====================================
src/ip_icmp.c
=====================================
@@ -245,7 +245,7 @@ void icmp_input(struct mbuf *m, int hlen)
default:
m_free(m);
- } /* swith */
+ } /* switch */
end_error:
/* m is m_free()'d xor put in a socket xor or given to ip_send */
=====================================
src/ip_input.c
=====================================
@@ -347,7 +347,7 @@ insert:
/*
* If the fragments concatenated to an mbuf that's bigger than the total
* size of the fragment and the mbuf was not already using an m_ext buffer,
- * then an m_ext buffer was alloced. But fp->ipq_next points to the old
+ * then an m_ext buffer was allocated. But fp->ipq_next points to the old
* buffer (in the mbuf), so we must point ip into the new buffer.
*/
if (m->m_flags & M_EXT) {
View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/compare/5500c69e8a705babc1c22590aedb776bfb2b2b76...dfe1229fc8f707f76b3f4d09078ab5e9b5817469
--
View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/compare/5500c69e8a705babc1c22590aedb776bfb2b2b76...dfe1229fc8f707f76b3f4d09078ab5e9b5817469
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/slirp/attachments/20210525/47097b17/attachment.htm>
More information about the Slirp
mailing list