diff options
author | Sake Blok <sake@euronet.nl> | 2007-10-16 23:42:33 +0000 |
---|---|---|
committer | Sake Blok <sake@euronet.nl> | 2007-10-16 23:42:33 +0000 |
commit | 6bec9d3d9e9382f41924339563f17aba6b346798 (patch) | |
tree | 0f87cd34f039a68004ef24dc4d35b3653ff2f3fd /wiretap/k12.c | |
parent | 4e6eec17b131555d08fec348dfd861339a288c28 (diff) |
From tmiller@hcjbtech.org : Spelling error on GDS DB protocol dissector: "Buffer lenght:"
(recursively grepped through the source and corrected all occurences, even
the ones just in comments)
svn path=/trunk/; revision=23211
Diffstat (limited to 'wiretap/k12.c')
-rw-r--r-- | wiretap/k12.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/k12.c b/wiretap/k12.c index 48aa620426..649c251603 100644 --- a/wiretap/k12.c +++ b/wiretap/k12.c @@ -203,7 +203,7 @@ typedef struct _k12_src_desc_t { * Every about 0x2000 bytes 0x10 bytes are inserted in the file, * even in the middle of a record. * This reads the next record without the eventual 0x10 bytes. - * returns the lenght of the record + the stuffing (if any) + * returns the length of the record + the stuffing (if any) * * XXX: works at most with 0x1FFF bytes per record */ @@ -230,7 +230,7 @@ static gint get_record(guint8** bufferp, FILE* fh, gint64 file_offset) { *bufferp = buffer; if ( junky_offset == 0x2000 ) { - /* the lenght of the record is 0x10 bytes ahead from we are reading */ + /* the length of the record is 0x10 bytes ahead from we are reading */ read = file_read(junk,1,0x14,fh); if (read == 2 && junk[0] == 0xff && junk[1] == 0xff) { @@ -243,7 +243,7 @@ static gint get_record(guint8** bufferp, FILE* fh, gint64 file_offset) { memcpy(buffer,&(junk[0x10]),4); } else { - /* the lenght of the record is right where we are reading */ + /* the length of the record is right where we are reading */ read = file_read(buffer,1, 0x4, fh); if (read == 2 && buffer[0] == 0xff && buffer[1] == 0xff) { |