Commit Graph

15 Commits

Author SHA1 Message Date
Anders Broman 1abb6c1031 Use src and dst instead of net_src.
svn path=/trunk/; revision=16796
2005-12-14 20:01:21 +00:00
Ronnie Sahlberg aff31978c1 remove sprintf from mtp3
svn path=/trunk/; revision=15451
2005-08-20 01:24:23 +00:00
Ulf Lamping 0dc9fb3d4a various code cleanup:
-use g_snprintf instead of sprintf and snprintf
-use g_strdup_printf where appropriate
-remove #include "snprintf.h" (as only g_snprintf should be used)
-replace some more alloc/realloc/calloc/free with their glib pendants

svn path=/trunk/; revision=15264
2005-08-08 18:50:39 +00:00
Ulf Lamping fdb5b1af02 just to get things straight: a dissector should *never* do any g_assert() calls!
in a simple approach, I've replaced all g_assert() and g_assert_not_reached() calls by their exception throwing counterparts DISSECTOR_ASSERT() and DISSECTOR_ASSERT_NOT_REACHED()

this will replace application crash by showing a dissector bug, which is the desired behaviour

there were some g_assert calls in the protocol registering functions, which might not be acting as expected now, but to be able to simply search for g_assert in the future I've replaced that calls too

one g_assert remained, the one when someone throws an unknown exception "into" packet_frame.c, but IMHO this one should remain.

svn path=/trunk/; revision=14608
2005-06-10 18:28:22 +00:00
Michael Tüxen 22012f92d0 Add higher SI values.
svn path=/trunk/; revision=13517
2005-02-25 20:33:28 +00:00
Michael Tüxen 03b78c062f Add mtp3.pc as suggested by Luis Ontanon.
Cleanups

svn path=/trunk/; revision=13241
2005-02-02 13:37:04 +00:00
Guy Harris b39dd4b7cc Don't assign a const pointer argument to a non-const pointer variable.
svn path=/trunk/; revision=12891
2004-12-31 02:09:48 +00:00
Ulf Lamping 5bcad85d01 Again, some warnings removed.
svn path=/trunk/; revision=12842
2004-12-27 13:17:20 +00:00
Ulf Lamping 78ff68d4b5 a lot of warnings removed, most of them about pointer to int casts without using the appropriate GLib macros
svn path=/trunk/; revision=12832
2004-12-25 13:49:30 +00:00
Guy Harris b0993663a1 From Jeff Morriss: SSCOP over UDP and SSCF-NNI support.
svn path=/trunk/; revision=12585
2004-11-24 02:59:49 +00:00
Guy Harris 1a4033c65e From Francisco Alcoba: declare the tap data as static, so it's still
there when the tap is called (which happens after dissection is
complete).

svn path=/trunk/; revision=12373
2004-10-22 06:05:03 +00:00
Guy Harris 6472876ab3 Move the tap infrastructure to the epan directory.
svn path=/trunk/; revision=12128
2004-09-29 00:06:36 +00:00
Guy Harris bbe7f89742 Move prefs.c and prefs.h into the epan subdirectory.
svn path=/trunk/; revision=12115
2004-09-27 22:55:15 +00:00
Guy Harris fa01d3c0ad From Viorel Suman: TALI (RFC 3094) support.
ATify Luca Deri's e-mail address.

svn path=/trunk/; revision=12016
2004-09-16 19:17:42 +00:00
Gilbert Ramirez 669db206cb Move dissectors to epan/dissectors directory.
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.

Adjust #include lines in files that include packet-*.h
files.

svn path=/trunk/; revision=11410
2004-07-18 18:06:47 +00:00