diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-02-06 16:06:10 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-01-14 13:42:38 -0800 |
commit | 44fd22c4c6deea1ca0a4025c14652f08a00bd500 (patch) | |
tree | 4bfe3bc14c3e2b33f1ec688246dbb35f1633c0c3 | |
parent | 55da352bbc7180adae74a8f4ea06854c70786ef3 (diff) | |
download | libpcap-44fd22c4c6deea1ca0a4025c14652f08a00bd500.tar.gz |
Remove commas from clauses in a comma-separated list.
The list of return values is a comma-separated list; if the descriptions
in that list themselves have commas, it can perhaps be confusing - does
the list item end with the comma in the description or in the comma at
the end of the description? (The correct answer is the latter.)
-rw-r--r-- | pcap_next_ex.3pcap | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pcap_next_ex.3pcap b/pcap_next_ex.3pcap index c1de33b2..c4e467e7 100644 --- a/pcap_next_ex.3pcap +++ b/pcap_next_ex.3pcap @@ -115,9 +115,9 @@ for Ethernet. .SH RETURN VALUE .B pcap_next_ex() returns 1 if the packet was read without problems, 0 -if packets are being read from a live capture, and the timeout expired, +if packets are being read from a live capture and the timeout expired, \-1 if an error occurred while reading the packet, and \-2 if -packets are being read from a ``savefile'', and there are no more +packets are being read from a ``savefile'' and there are no more packets to read from the savefile. If \-1 is returned, .B pcap_geterr() |