aboutsummaryrefslogtreecommitdiffstats
path: root/capture.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-01-22 19:25:36 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-01-22 19:25:36 +0000
commitcf57056f7065533a5d7375f9c1be0c16cec69f8b (patch)
tree16b866f8c7b510989fc7a2d6e45df0dc92b15c66 /capture.c
parenta0f78e3b8f42ccacd4ece05e90d7126e9a8e9777 (diff)
bugfix: wrong parameter name
svn path=/trunk/; revision=9778
Diffstat (limited to 'capture.c')
-rw-r--r--capture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/capture.c b/capture.c
index 051536875d..37ce29a194 100644
--- a/capture.c
+++ b/capture.c
@@ -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;