aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2017-12-04 10:37:32 +0100
committerAnders Broman <a.broman58@gmail.com>2017-12-04 11:58:46 +0000
commitd747900bc88d2f40b434a7c5b5d8762e789087ea (patch)
treed6fd8f6c4db90d1105bc10be056713a4201e0a06
parent72c2256633e37b7bbec0ea72e90e27a0267bef8d (diff)
[tap-rtp-common.c] Change g_list_append() to g_list_prepend().
Change-Id: I6ecc6658f75056db55dc68497956019a52fad0e6 Reviewed-on: https://code.wireshark.org/review/24699 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--ui/tap-rtp-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/tap-rtp-common.c b/ui/tap-rtp-common.c
index 9d689fa..28fea44 100644
--- a/ui/tap-rtp-common.c
+++ b/ui/tap-rtp-common.c
@@ -237,7 +237,7 @@ int rtpstream_packet(void *arg, packet_info *pinfo, epan_dissect_t *edt _U_, con
stream_info = g_new(rtp_stream_info_t,1);
*stream_info = new_stream_info; /* memberwise copy of struct */
- tapinfo->strinfo_list = g_list_append(tapinfo->strinfo_list, stream_info);
+ tapinfo->strinfo_list = g_list_prepend(tapinfo->strinfo_list, stream_info);
}
/* get RTP stats for the packet */