Commit 54bc6a6e 54bc6a6eb7842309bbdd0ad2ab69f4a3b33f05ee by Sergey Poznyakoff

Stop iterating when the matching record was found.

1 parent 37cd336d
......@@ -111,6 +111,7 @@ mu_registrar_lookup (const char *name, int flags,
*precord = record;
if (pflags)
*pflags = rc;
break;
}
}
mu_iterator_destroy (&iterator);
......