diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-03-15 20:47:12 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-03-15 20:47:12 +0000 |
commit | 1ea40d17a73d867a1eda24c12ba101f59cae178b (patch) | |
tree | a294dbf4a4e7ead717f7f8ec0a1a909752e045af /epan/dissectors/packet-btrfcomm.c | |
parent | d61eb4de7748ceed921648e99abb949f335851e3 (diff) |
Fix perror, calloc usage so checkAPIs doesn't complain.
(The usage is inside an #ifdef REMOVED so it's
just commented out so checkAPIs.pl doesn't see it).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27731 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-btrfcomm.c')
-rw-r--r-- | epan/dissectors/packet-btrfcomm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-btrfcomm.c b/epan/dissectors/packet-btrfcomm.c index 5291476b54..2d4734ce74 100644 --- a/epan/dissectors/packet-btrfcomm.c +++ b/epan/dissectors/packet-btrfcomm.c @@ -311,10 +311,10 @@ dissect_ctrl_pn(packet_info *pinfo, proto_tree *t, tvbuff_t *tvb, int offset, in /* to serve as inspiration when implementing ppp over rfcomm */ static void *my_malloc(int size) { - void *p = calloc(size, 1); +/* void *p = calloc(size, 1); */ if (!p) { - perror("calloc()"); +/* perror("calloc()"); */ /* exit(1); */ } return p; |