2218N/AThis patch fixed segfault when supplying multiple options like '-f' for iftop.
2218N/AThe fixing has been integrated into open iftop-1.0 pre-release version. We can
2218N/A S = stringmap_find(config, directive);
2218N/A- if (S) stringmap_delete_free(S);
2218N/A- stringmap_insert(config, directive, item_ptr(xstrdup(s)));
2218N/A+ S->d = item_ptr(xstrdup(s));
2218N/A+ stringmap_insert(config, directive, item_ptr(xstrdup(s)));
2218N/A int read_config(char *file, int whinge_on_error) {