diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-01-22 19:25:36 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-01-22 19:25:36 +0000 |
commit | 3091522b1f9d88a6e14fed3f91eefd608499c2aa (patch) | |
tree | 16b866f8c7b510989fc7a2d6e45df0dc92b15c66 /capture.c | |
parent | b575db290214549280db5161edb80672dc1d30f1 (diff) |
bugfix: wrong parameter name
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9778 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* capture.c * Routines for packet capture windows * - * $Id: capture.c,v 1.224 2004/01/22 18:13:56 ulfl Exp $ + * $Id: capture.c,v 1.225 2004/01/22 19:25:36 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -718,7 +718,7 @@ do_capture(const char *save_file) static gboolean cap_pipe_input_cb(gint source, gpointer user_data) { - capture_file *cf = (capture_file *)data; + capture_file *cf = (capture_file *)user_data; #define BUFSIZE 4096 char buffer[BUFSIZE+1], *p = buffer, *q = buffer, *msg, *r; int nread, msglen, chars_to_copy; |