aboutsummaryrefslogtreecommitdiffstats
path: root/tap-httpstat.c
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2006-02-11 13:05:24 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2006-02-11 13:05:24 +0000
commitfcf7b3789cec5595880d27e0109387e2d8733b38 (patch)
tree04149b75555afc2d39791e321970f76b1bcaca38 /tap-httpstat.c
parentca970e37571a3a39d6fc257c899ffacc25222269 (diff)
add an userdata argument to register_stat_cmd_arg() and its callback to use the callback for multiple registrations.
svn path=/trunk/; revision=17252
Diffstat (limited to 'tap-httpstat.c')
-rw-r--r--tap-httpstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tap-httpstat.c b/tap-httpstat.c
index e957588b0d..34a266a549 100644
--- a/tap-httpstat.c
+++ b/tap-httpstat.c
@@ -281,7 +281,7 @@ httpstat_draw(void *psp )
/* When called, this function will create a new instance of gtk_httpstat.
*/
static void
-gtk_httpstat_init(const char *optarg)
+gtk_httpstat_init(const char *optarg,void* userdata _U_)
{
httpstat_t *sp;
const char *filter=NULL;
@@ -326,5 +326,5 @@ gtk_httpstat_init(const char *optarg)
void
register_tap_listener_gtkhttpstat(void)
{
- register_stat_cmd_arg("http,stat,", gtk_httpstat_init);
+ register_stat_cmd_arg("http,stat,", gtk_httpstat_init,NULL);
}