Age | Commit message (Collapse) | Author | Files | Lines |
|
80-column wide terminal windows (which also lets more windows fit than
would fit with wider windows).
svn path=/trunk/; revision=12935
|
|
svn path=/trunk/; revision=12934
|
|
svn path=/trunk/; revision=12933
|
|
svn path=/trunk/; revision=12932
|
|
svn path=/trunk/; revision=12931
|
|
svn path=/trunk/; revision=12930
|
|
svn path=/trunk/; revision=12928
|
|
svn path=/trunk/; revision=12926
|
|
detailed description of classes is pretty much redundant - remove it.
svn path=/trunk/; revision=12925
|
|
type of variable and assign the value; that squelches "dereferencing
type-punned pointer will break strict-aliasing rules" warnings from some
versions of GCC.
svn path=/trunk/; revision=12924
|
|
GLib function with an unfortunate signature.
svn path=/trunk/; revision=12923
|
|
sign-extending 8-bit characters.
svn path=/trunk/; revision=12922
|
|
appropriate.
Use %u, not %d, to convert unsigned values to strings.
svn path=/trunk/; revision=12921
|
|
if NEED_INET_V6DEFS_H is defined, as is done in "packet-sdp.c", the
other module using "inet_pton()".
svn path=/trunk/; revision=12920
|
|
"gpointer" - callers should do that if appropriate (or perhaps change
the call to pass a different argument if that's more appropriate), and
even if casting it were the right thing to do, the argument needs to be
surrounded with parentheses so the correct value is cast.
svn path=/trunk/; revision=12919
|
|
"window_new_with_geom()" - there's no way to tell the compiler that
we're not going to be modifying it, but we aren't.
The right way to check whether a pointer is null and get a Boolean is to
test it against null, not to cast it to a Boolean type - as Boolean
types in C89/C90, at least, are just integral types, that cast might
just throw away the upper 32 bits; that probably yields the results you
want, but the compiler might well justifiably warn about that on an LP64
platform.
svn path=/trunk/; revision=12918
|
|
the dissector is a const pointer.
svn path=/trunk/; revision=12917
|
|
conversation, use the "index" member of the conversation_t - that lets
you get a value that fits in a guint, but without provoking the warning
you might get from a compiler if you cast a pointer to the conversation
to a guint.
svn path=/trunk/; revision=12916
|
|
test it against null, not to cast it to a Boolean type - as Boolean
types in C89/C90, at least, are just integral types, that cast might
just throw away the upper 32 bits; that probably yields the results you
want, but the compiler might well justifiably warn about that on an LP64
platform.
svn path=/trunk/; revision=12915
|
|
longjmp, by properly qualifying those variables as volatile.
svn path=/trunk/; revision=12914
|
|
match what "register_tap_listener()" expects (rather than squelching
warnings about the differences by casting function pointers to "void
*").
Make static some functions not used outside the module in which they're
defined.
svn path=/trunk/; revision=12913
|
|
GTK+'s function signatures aren't necessarily what they should be)
warning.
svn path=/trunk/; revision=12912
|
|
structure pointed to them by reference, so make the argument a "const"
pointer.
svn path=/trunk/; revision=12911
|
|
const pointer (so that we don't get complaints when we make the
tap-specific data argument to "tap_queue_packet()" a const pointer,
allowing dissectors to hand const data to a tap without a complaint), we
should make the tap per-packet function take a const pointer as an
argument as well. Do so.
In some taps, use _U_, or actually use the argument, rather than
sticking in dummy "X = X" assignments to fake use of parameters. (This
means that the tap functions in question no longer have the notion that
they act on a particular static structure wired in.)
svn path=/trunk/; revision=12910
|
|
Don't assign the const pointers passed to hash routines to non-const
pointers.
In "zonenm_to_str()", don't assume there's a null terminator in the
packet - use "tvb_get_string()" so that the buffer into which it's
copied is explicitly null-terminated.
Put the Domain & Port into the protocol tree as a "0xXXXXXXXX" string,
rather than as a string with one blank in it.
svn path=/trunk/; revision=12909
|
|
"tvb_get_ptr()".
svn path=/trunk/; revision=12908
|
|
Make the names for list record types match the names used before the
previous checkin.
svn path=/trunk/; revision=12907
|
|
Make the protcol/version information an array of 8 bytes, not 2 guints;
not all the world's a (little-endian) PC!
svn path=/trunk/; revision=12906
|
|
Don't assign the const pointers passed to hash routines to non-const
pointers.
Don't use "tvb_get_ptr()" to get a pointer to a data structure, and
dereference that pointer - there's no guarantee that the structure in
question will be located on an appropriate boundary in the data from the
packet (regardless of whether it's properly aligned within the data for
the protocol being dissected).
Put the record length for an EFP request into the protocol tree.
Check the sanity of the payload length for that request.
In "zonenm_to_str()", don't assume there's a null terminator in the
packet - use "tvb_get_string()" so that the buffer into which it's
copied is explicitly null-terminated.
Put the Domain & Port into the protocol tree as a "0xXXXXXXXX" string,
rather than as a string with one blank in it.
svn path=/trunk/; revision=12905
|
|
Don't assign the const pointers passed to hash routines to non-const
pointers.
Don't assume that strings the spec says are null-terminated are
necessarily null-terminated in the packet - use "tvb_strsize()" to find
the length of the purported null-terminated string; it'll throw the
appropriate exception if no null is found.
svn path=/trunk/; revision=12904
|
|
svn path=/trunk/; revision=12903
|
|
- moved gop and gog indexes into gopcfgs, which is a propedeutic
change for upcoming changes in the way gops are to be grouped
- changed the way gog-keys are kept in memory
- every gopkey attribute is copied into the gop->extras to avoid
redundancy in the configuration
- added timers to gogs mate.gog_type.StartTime and mate.gog_type.Time
- fixed a bug in scs_subscribe that mangled some strings
- minor interface improvement to scs propedeutic to having types avp
values in a future
- changed medium and large into mate_medium and mate_large in the
scs_collection
- fixed Mode=Replace in Transforms, now it works
- fixed a crash at reinit due to impropper initialization of mate_items
svn path=/trunk/; revision=12902
|
|
Bring tap-h225counter.c in sync with newest revision of the h225 dissector
svn path=/trunk/; revision=12901
|
|
tree.
svn path=/trunk/; revision=12900
|
|
object pointed to by the non-const pointer won't be modified.
svn path=/trunk/; revision=12899
|
|
"const" pointer, and don't cast away the constness of "tvb_get_ptr()"s
result when passing it to "string_to_hex()".
svn path=/trunk/; revision=12898
|
|
"ip_to_str()" takes a "const guint8 *" argument.
svn path=/trunk/; revision=12897
|
|
non-null-terminated strings, so be safe and fetch the metatag string
with "tvb_get_string()".
svn path=/trunk/; revision=12896
|
|
specified value.
Make a constant array "const".
svn path=/trunk/; revision=12895
|
|
Don't supply our own definition of AF_INET or our own declaration of
"inet_pton()" - use the system ones if they're available.
"mkipv4_address()" doesn't modify the string passed to it - make it a
const pointer.
svn path=/trunk/; revision=12894
|
|
"ip_to_str()" and "ip6_to_str()".
Check the length of items for IPv4 and IPv6 addresses before displaying
them as such.
svn path=/trunk/; revision=12893
|
|
pointers.
Now that "col_set_str()" takes a "const char *" as the second argument,
we don't have to cast away the constness of strings passed to it.
svn path=/trunk/; revision=12892
|
|
svn path=/trunk/; revision=12891
|
|
pointers.
svn path=/trunk/; revision=12890
|
|
svn path=/trunk/; revision=12889
|
|
"const char *".
svn path=/trunk/; revision=12888
|
|
which they point.
svn path=/trunk/; revision=12887
|
|
svn path=/trunk/; revision=12886
|
|
so use a copy of the existing one for printing.
svn path=/trunk/; revision=12885
|
|
arguments passed in corresponding to those pointers are gconstpointers.
svn path=/trunk/; revision=12884
|