diff options
author | Guy Harris <guy@alum.mit.edu> | 2008-08-19 05:10:16 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2008-08-19 05:10:16 +0000 |
commit | e8ba2515def69393b68f290284f6e5433a29d0f1 (patch) | |
tree | a0531935286f5198f011487cf190972db9571e85 /capture.c | |
parent | d9416525b674e087193f523c06771926f6bf47ae (diff) | |
download | wireshark-e8ba2515def69393b68f290284f6e5433a29d0f1.tar.gz wireshark-e8ba2515def69393b68f290284f6e5433a29d0f1.tar.bz2 wireshark-e8ba2515def69393b68f290284f6e5433a29d0f1.zip |
The packet counts and drop counts reported by libpcap are unsigned.
Clean up indentation a bit.
svn path=/trunk/; revision=26037
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -446,9 +446,9 @@ capture_input_new_packets(capture_options *capture_opts, int to_read) /* Capture child told us how many dropped packets it counted. */ void -capture_input_drops(capture_options *capture_opts, int dropped) +capture_input_drops(capture_options *capture_opts, guint32 dropped) { - g_log(LOG_DOMAIN_CAPTURE, G_LOG_LEVEL_INFO, "%d packet%s dropped", dropped, plurality(dropped, "", "s")); + g_log(LOG_DOMAIN_CAPTURE, G_LOG_LEVEL_INFO, "%u packet%s dropped", dropped, plurality(dropped, "", "s")); g_assert(capture_opts->state == CAPTURE_RUNNING); |