aboutsummaryrefslogtreecommitdiffstats
path: root/epan/gcp.c
AgeCommit message (Collapse)AuthorFilesLines
2012-12-26Fix a bunch of warnings.Guy Harris1-5/+5
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45016
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2011-09-07From Václav Horčák:Anders Broman1-1/+3
When context id is reused by another termination, initial packet containing $ (=choose one) is not added to context but belongs to context 0xfffffffe(context id value used in wireshark for choose one). This affects context listing in MEGACO packet contents and Telephony->Voip Calls listings for MEGACO. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6311 svn path=/trunk/; revision=38910
2011-08-07Untabify.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=38398
2011-08-07g_ascii_strdown Returns a newly-allocated string.Anders Broman1-2/+3
svn path=/trunk/; revision=38397
2011-03-28Use g_ascii_strdown instead of g_strdownJeff Morriss1-1/+1
svn path=/trunk/; revision=36385
2011-01-30Fix various instances of "unreachable code".Bill Meier1-1/+0
svn path=/trunk/; revision=35713
2010-06-03Whitespace/indentation/code style cleanup.Jaap Keuter1-105/+106
svn path=/trunk/; revision=33070
2009-10-05Add DISSECTOR_ASSERT before dereferencing pointerKovarththanan Rajaratnam1-3/+3
svn path=/trunk/; revision=30345
2009-09-29Fixed an if-check in gcp_analyze_msg().Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30198
2009-09-29Made gcp_trx_to_str() static.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30192
2009-09-28Only include config.h in C files, to avoid multiple inclusion.Stig Bjørlykke1-0/+4
svn path=/trunk/; revision=30182
2009-09-06Rename address_to_str() to ep_address_to_str() because:Kovarththanan Rajaratnam1-9/+9
1) This indicates that the string has ephemeral lifetime 2) More consistent with its existing seasonal counterpart, se_address_to_str(). svn path=/trunk/; revision=29747
2008-12-31Service response time statistics for MEGACO (GUI only).Balint Reczey1-0/+1
svn path=/trunk/; revision=27140
2008-11-04gcp_initailized --> gcp_initialized; localize sameBill Meier1-4/+5
svn path=/trunk/; revision=26692
2007-04-26mtp3_addr_to_str_buf() and mtp3_pc_hash() expect to be passed a pointerGuy Harris1-2/+2
to a mtp3_addr_pc_t; declare them as such, and pass the argument as such. svn path=/trunk/; revision=21595
2007-03-31Add Licence and TO DO listLuis Ontanon1-1/+28
svn path=/trunk/; revision=21289
2007-03-28do not pass a null string to proto_item_append_text()Luis Ontanon1-1/+1
svn path=/trunk/; revision=21252
2007-03-26the forgotten files from the last checkinLuis Ontanon1-0/+4
svn path=/trunk/; revision=21217
2007-03-25Migrate context tracing code from packet-h248.[ch] to gcp.[ch], so that the ↵Luis Ontanon1-0/+718
same code can be used by megaco (upcoming). svn path=/trunk/; revision=21189