summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-06-13 15:51:17 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-06-13 15:51:17 +0200
commitb6cb72afcf877e6b1ac062ca17e0be01c963cce7 (patch)
treee4b44ea1c8e2c2d5752c8a581d9dcabf81bef555
parente9b6480fc5c15c131339a1f34ed18cb57a9f281c (diff)
oui: minor: Fix comments
Make comments related to skipping of lines a bit clearer. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--oui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/oui.c b/oui.c
index 2f6ec72..5eea9fb 100644
--- a/oui.c
+++ b/oui.c
@@ -55,11 +55,12 @@ void dissector_init_oui(void)
v = xmalloc(sizeof(*v));
v->id = strtol(ptr, &end, 0);
- /* No valid line, skip */
+ /* not a valid line, skip */
if (v->id == 0 && end == ptr)
continue;
ptr = strstr(buff, ", ");
+ /* likewise */
if (!ptr)
continue;