diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-06-28 22:43:05 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-06-28 22:43:05 +0000 |
commit | 9e1c564f2c769245d11439dfccd0af05b685e171 (patch) | |
tree | d82dbcdb61b79f90cf08e4e654ef334ccef91f87 /libsieve/register.c | |
parent | 7ecfd2abb3aa7b4c853def9d5ccc57db0ac2b9ae (diff) | |
download | mailutils-9e1c564f2c769245d11439dfccd0af05b685e171.tar.gz mailutils-9e1c564f2c769245d11439dfccd0af05b685e171.tar.bz2 |
Replace iterator_create with list_get_iterator.
Diffstat (limited to 'libsieve/register.c')
-rw-r--r-- | libsieve/register.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsieve/register.c b/libsieve/register.c index 0a50d1084..a08e043a6 100644 --- a/libsieve/register.c +++ b/libsieve/register.c @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -31,7 +31,7 @@ reg_lookup (list_t list, const char *name) iterator_t itr; sieve_register_t *reg; - if (!list || iterator_create (&itr, list)) + if (!list || list_get_iterator (list, &itr)) return NULL; for (iterator_first (itr); !iterator_is_done (itr); iterator_next (itr)) |