diff options
Diffstat (limited to 'wiretap/camins.c')
-rw-r--r-- | wiretap/camins.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/camins.c b/wiretap/camins.c index 333eca16d8..faa516aeaa 100644 --- a/wiretap/camins.c +++ b/wiretap/camins.c @@ -268,8 +268,8 @@ camins_read_packet(FILE_T fh, struct wtap_pkthdr *phdr, Buffer *buf, if (!find_next_pkt_dat_type_len(fh, &dat_trans_type, &dat_len, err, err_info)) return FALSE; - buffer_assure_space(buf, DVB_CI_PSEUDO_HDR_LEN+dat_len); - p = buffer_start_ptr(buf); + ws_buffer_assure_space(buf, DVB_CI_PSEUDO_HDR_LEN+dat_len); + p = ws_buffer_start_ptr(buf); /* NULL check for p is done in create_pseudo_hdr() */ offset = create_pseudo_hdr(p, dat_trans_type, dat_len); if (offset<0) { |