Ethereal-dev: [Ethereal-dev] gtk/main.c error ?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: poltuiu <poltuiu@xxxxxxxxxxx>
Date: Thu, 08 Jan 2004 11:37:45 +0100
Hi all,

I think there is an error on lines 2571-2576 in main.c (0.10.0 v) :

if (!start_capture && (cfile.cfilter == NULL || strlen(cfile.cfilter) == 0)) {
    if (cfile.cfilter) {
      g_free(cfile.cfilter);
    }
    cfile.cfilter = g_strdup(get_conn_cfilter());
  }

cfile.filter is defined only for libcap, but these lines are not excluded and a compilation with gtk but without libcap do will not finish successfully.

do I mislead me ?
--
Stef
poltuiu@xxxxxxxxxxx