summaryrefslogtreecommitdiff
path: root/src/basic/socket-util.c
diff options
context:
space:
mode:
authorTorstein Husebø <torstein@huseboe.net>2016-02-08 13:27:22 +0100
committerTorstein Husebø <torstein@huseboe.net>2016-02-24 11:56:11 +0100
commit96d490114900686b4d17f9b751fab6e39cfcc560 (patch)
tree150de8b7f09fd85572ade2ddbc53d1769e36bcf9 /src/basic/socket-util.c
parent77d9510adc57224946393ed4fdc4e0468e3b501d (diff)
treewide: fix typos and then/that use
Diffstat (limited to 'src/basic/socket-util.c')
-rw-r--r--src/basic/socket-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/socket-util.c b/src/basic/socket-util.c
index 58512686e3..0f38f9a0f3 100644
--- a/src/basic/socket-util.c
+++ b/src/basic/socket-util.c
@@ -942,7 +942,7 @@ ssize_t next_datagram_size_fd(int fd) {
int k;
/* This is a bit like FIONREAD/SIOCINQ, however a bit more powerful. The difference being: recv(MSG_PEEK) will
- * actually cause the next datagram in the queue to be validated regarding checksums, which FIONREAD dosn't
+ * actually cause the next datagram in the queue to be validated regarding checksums, which FIONREAD doesn't
* do. This difference is actually of major importance as we need to be sure that the size returned here
* actually matches what we will read with recvmsg() next, as otherwise we might end up allocating a buffer of
* the wrong size. */