s3-spoolss: fix search_notify(). sorry...
authorGünther Deschner <gd@samba.org>
Thu, 26 Feb 2009 12:19:24 +0000 (13:19 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 26 Feb 2009 12:19:24 +0000 (13:19 +0100)
Guenther

source3/rpc_server/srv_spoolss_nt.c

index 7485a425499b37c459345f428fd1dc89b23b0f81..7a580517d347e8e332a496aaeaaf3b66ab2888a7 100644 (file)
@@ -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) {