diff options
author | jlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2006-02-01 23:41:32 +0000 |
---|---|---|
committer | jlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2006-02-01 23:41:32 +0000 |
commit | e00b005a05b3be11f59ddf676914233d38626b38 (patch) | |
tree | 5972fd0b98a668d3675633405dc0260e708f8317 /scheduler/auth.c | |
parent | ffb63008826760d766ebe7a553955ba3a7253eac (diff) | |
download | cups-e00b005a05b3be11f59ddf676914233d38626b38.tar.gz |
Load cups into easysw/current.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@51 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'scheduler/auth.c')
-rw-r--r-- | scheduler/auth.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/scheduler/auth.c b/scheduler/auth.c index 0c6cd85d9..e71cfaa40 100644 --- a/scheduler/auth.c +++ b/scheduler/auth.c @@ -1,5 +1,5 @@ ;/* - * "$Id: auth.c 4929 2006-01-13 16:38:43Z mike $" + * "$Id: auth.c 5043 2006-02-01 18:55:16Z mike $" * * Authorization routines for the Common UNIX Printing System (CUPS). * @@ -803,7 +803,9 @@ cupsdCheckAuth( cupsdNetIFUpdate(); - for (iface = NetIFList; iface != NULL; iface = iface->next) + for (iface = (cupsd_netif_t *)cupsArrayFirst(NetIFList); + iface; + iface = (cupsd_netif_t *)cupsArrayNext(NetIFList)) { /* * Only check local interfaces... @@ -848,9 +850,9 @@ cupsdCheckAuth( * Check the named interface... */ - for (iface = cupsdNetIFFind(masks->mask.name.name); - iface && !strcasecmp(masks->mask.name.name, iface->name); - iface = iface->next) + for (iface = (cupsd_netif_t *)cupsArrayFirst(NetIFList); + iface && !strcmp(masks->mask.name.name, iface->name); + iface = (cupsd_netif_t *)cupsArrayNext(NetIFList)) { if (iface->address.addr.sa_family == AF_INET) { @@ -2125,5 +2127,5 @@ to64(char *s, /* O - Output string */ /* - * End of "$Id: auth.c 4929 2006-01-13 16:38:43Z mike $". + * End of "$Id: auth.c 5043 2006-02-01 18:55:16Z mike $". */ |