diff options
author | Gerald Combs <gerald@wireshark.org> | 2005-07-20 20:57:04 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2005-07-20 20:57:04 +0000 |
commit | 0de3a392be18e0a6533ec43ff62ef772522c478b (patch) | |
tree | 231a701f9250ae1de794b58f75a53691ac914606 /epan/dissectors/packet-uma.c | |
parent | 32b4bac3cc0a1b74894dde7213bf483feba8fabe (diff) |
In packet-gsm_a.c:
- Make sure every function that has an "add_string" argument, make sure
it isn't NULL before we write to it.
a null "add_string".
- Use "_U_" instead of "add_string = add_string" to squelch compiler
warnings.
- Fix other compiler warnings.
In packet-uma.c, pass NULL instead of "" for the add_string argument to
de_mid(). Fixes bug 287.
svn path=/trunk/; revision=14971
Diffstat (limited to 'epan/dissectors/packet-uma.c')
-rw-r--r-- | epan/dissectors/packet-uma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-uma.c b/epan/dissectors/packet-uma.c index b6c99a0eb8..72c6caf092 100644 --- a/epan/dissectors/packet-uma.c +++ b/epan/dissectors/packet-uma.c @@ -882,7 +882,7 @@ dissect_uma_IE(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset) * The rest of the IE is coded as in [TS 24.008] not including IEI and * length, if present.(10.5.1.4) */ - de_mid(tvb, urr_ie_tree, offset, ie_len, ""); + de_mid(tvb, urr_ie_tree, offset, ie_len, NULL); break; case 2: |