aboutsummaryrefslogtreecommitdiffstats
path: root/ui/capture.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2021-06-15 00:06:02 +0100
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-06-16 12:50:27 +0000
commit39df3ae3c0ff12da5f5630b89a147b65588cc4c2 (patch)
tree280be0d508116a8fdb3d3a719f249497868a12c2 /ui/capture.c
parent4c4bb915c866f234e527ae0a5fc296ef3f732a0e (diff)
Replace g_log() calls with ws_log()
Diffstat (limited to 'ui/capture.c')
-rw-r--r--ui/capture.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/capture.c b/ui/capture.c
index 5cf1eb6129..44e3b02202 100644
--- a/ui/capture.c
+++ b/ui/capture.c
@@ -438,7 +438,7 @@ capture_input_new_file(capture_session *cap_session, gchar *new_file)
if (!cap_session->wtap) {
err_msg = g_strdup_printf(cf_open_error_message(err, err_info),
new_file);
- g_warning("capture_input_new_file: %d (%s)", err, err_msg);
+ ws_warning("capture_input_new_file: %d (%s)", err, err_msg);
g_free(err_msg);
return FALSE;
}
@@ -481,7 +481,7 @@ capture_info_new_packets(int to_read, wtap *wth, info_data_t* cap_info)
cap_info->ui.new_packets = to_read;
- /*g_warning("new packets: %u", to_read);*/
+ /*ws_warning("new packets: %u", to_read);*/
wtap_rec_init(&rec);
ws_buffer_init(&buf, 1514);
@@ -497,7 +497,7 @@ capture_info_new_packets(int to_read, wtap *wth, info_data_t* cap_info)
rec.rec_header.packet_header.caplen,
pseudo_header);
- /*g_warning("new packet");*/
+ /*ws_warning("new packet");*/
to_read--;
}
}