summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoranlan_cs <vic.lan@pica8.com>2022-06-15 01:20:25 -0400
committeranlan_cs <vic.lan@pica8.com>2022-06-16 08:39:34 -0400
commitf978382d7803e3c132d0726b28a0e95a903e7181 (patch)
tree603bfc065699b1fe41a6eac011eb771370df1ac8 /lib
parent89f76cd132d401676788eb6f734c357d39cfdd85 (diff)
lib: correct two comments
Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/if.c2
-rw-r--r--lib/stream.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/if.c b/lib/if.c
index 83fa85ecc1..89d30e4fb3 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -711,7 +711,7 @@ int if_is_broadcast(const struct interface *ifp)
return ifp->flags & IFF_BROADCAST;
}
-/* Does this interface support broadcast ? */
+/* Does this interface support pointopoint ? */
int if_is_pointopoint(const struct interface *ifp)
{
return ifp->flags & IFF_POINTOPOINT;
diff --git a/lib/stream.c b/lib/stream.c
index c15baa0a2c..634ba6c5f9 100644
--- a/lib/stream.c
+++ b/lib/stream.c
@@ -691,7 +691,7 @@ double stream_getd(struct stream *s)
return u.r;
}
-/* Copy to source to stream.
+/* Copy from source to stream.
*
* XXX: This uses CHECK_SIZE and hence has funny semantics -> Size will wrap
* around. This should be fixed once the stream updates are working.