canonical_filter (const char *filter)
{
  /* Canonicalize "no filter", to NULL (empty means the same) */
  if (filter && *filter == 0)
    return NULL;
  return filter;
}
canonical_filter (const char *filter)
{
   
  if (filter && *filter == 0)
    return NULL;
  return filter;
}