diff options
author | Günther Deschner <gd@samba.org> | 2009-02-26 13:19:24 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-26 13:19:24 +0100 |
commit | 44ceff4d01ce1e7bd089c120f79812f48ced0be7 (patch) | |
tree | 20b5c079e7a6aa2f3318e09f47d1441dce24ea65 | |
parent | 98ca5b04ba1ca0649b3004fa45cab6aaa8d5ec3c (diff) | |
download | samba-44ceff4d01ce1e7bd089c120f79812f48ced0be7.tar.gz samba-44ceff4d01ce1e7bd089c120f79812f48ced0be7.tar.bz2 samba-44ceff4d01ce1e7bd089c120f79812f48ced0be7.zip |
s3-spoolss: fix search_notify(). sorry...
Guenther
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 7485a42549..7a580517d3 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -3518,7 +3518,7 @@ static bool search_notify(enum spoolss_NotifyType type, { int i; - for (i = 0; ARRAY_SIZE(notify_info_data_table); i++) { + for (i = 0; i < ARRAY_SIZE(notify_info_data_table); i++) { if (notify_info_data_table[i].type == type && notify_info_data_table[i].field == field && notify_info_data_table[i].fn != NULL) { |