(Minor) Use correct description for tvb_find_guint8().

svn path=/trunk/; revision=45799
This commit is contained in:
Bill Meier 2012-10-26 16:09:01 +00:00
parent 04fea80bf8
commit c654a52e64
1 changed files with 3 additions and 3 deletions

View File

@ -367,9 +367,9 @@ extern void* ep_tvb_memdup(tvbuff_t *tvb, const gint offset, size_t length);
* tvbuff_free_cb_t() is called, if any. */
extern const guint8* tvb_get_ptr(tvbuff_t*, const gint offset, const gint length);
/** Find first occurence of any of the needles in tvbuff, starting at offset.
* Searches at most maxlength number of bytes; if maxlength is -1, searches
* to end of tvbuff.
/** Find first occurence of needle in tvbuff, starting at offset. Searches
* at most maxlength number of bytes; if maxlength is -1, searches to
* end of tvbuff.
* Returns the offset of the found needle, or -1 if not found.
* Will not throw an exception, even if maxlength exceeds boundary of tvbuff;
* in that case, -1 will be returned if the boundary is reached before