* plugin.c (get_symbols): Check symbol type correctly.