Make it clearer that we're using the packet length read from the packet
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 31 Dec 2013 23:33:49 +0000 (23:33 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 31 Dec 2013 23:33:49 +0000 (23:33 +0000)
header when reading packets randomly.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@54520 f5534014-38df-0310-8fa8-9805f1628bb7

wiretap/catapult_dct2000.c

index 22a04f6f925a92b4714acb21ea5f0eaed5b38490..41fdd3904f98d0549c2c852a2976dfe0d1a278f4 100644 (file)
@@ -451,9 +451,10 @@ catapult_dct2000_read(wtap *wth, int *err, gchar **err_info,
 static gboolean
 catapult_dct2000_seek_read(wtap *wth, gint64 seek_off,
                            struct wtap_pkthdr *phdr, Buffer *buf,
-                           int length, int *err, gchar **err_info)
+                           int len _U_, int *err, gchar **err_info)
 {
     gint64 offset = 0;
+    int length;
     long dollar_offset, before_time_offset, after_time_offset;
     static gchar linebuff[MAX_LINE_LENGTH+1];
     gchar aal_header_chars[AAL_HEADER_CHARS];