diff options
Diffstat (limited to 'ui/cli/tap-sipstat.c')
-rw-r--r-- | ui/cli/tap-sipstat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/cli/tap-sipstat.c b/ui/cli/tap-sipstat.c index 4c57f806fc..2eaf370730 100644 --- a/ui/cli/tap-sipstat.c +++ b/ui/cli/tap-sipstat.c @@ -386,14 +386,14 @@ sipstat_draw(void *psp ) } static void -sipstat_init(const char *optarg, void* userdata _U_) +sipstat_init(const char *opt_arg, void* userdata _U_) { sipstat_t *sp; const char *filter=NULL; GString *error_string; - if (strncmp (optarg, "sip,stat,", 9) == 0){ - filter=optarg+9; + if (strncmp (opt_arg, "sip,stat,", 9) == 0){ + filter=opt_arg+9; } else { filter=NULL; } |