diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-06-14 08:41:49 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-06-14 08:41:49 +0000 |
commit | 54bc6a6eb7842309bbdd0ad2ab69f4a3b33f05ee (patch) | |
tree | 6d1cf1ab2def522a5593e3fae1a9b0696723a17b | |
parent | 37cd336d8bb2a4096a59bb8867b73d26867da8fd (diff) | |
download | mailutils-54bc6a6eb7842309bbdd0ad2ab69f4a3b33f05ee.tar.gz mailutils-54bc6a6eb7842309bbdd0ad2ab69f4a3b33f05ee.tar.bz2 |
Stop iterating when the matching record was found.
-rw-r--r-- | mailbox/registrar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mailbox/registrar.c b/mailbox/registrar.c index 1956d286d..7bc1b13ad 100644 --- a/mailbox/registrar.c +++ b/mailbox/registrar.c @@ -111,6 +111,7 @@ mu_registrar_lookup (const char *name, int flags, *precord = record; if (pflags) *pflags = rc; + break; } } mu_iterator_destroy (&iterator); |