git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98ca5b0
)
s3-spoolss: fix search_notify(). sorry...
author
Günther Deschner
<gd@samba.org>
Thu, 26 Feb 2009 12:19:24 +0000
(13:19 +0100)
committer
Günther Deschner
<gd@samba.org>
Thu, 26 Feb 2009 12:19:24 +0000
(13:19 +0100)
Guenther
source3/rpc_server/srv_spoolss_nt.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_spoolss_nt.c
b/source3/rpc_server/srv_spoolss_nt.c
index 7485a425499b37c459345f428fd1dc89b23b0f81..7a580517d347e8e332a496aaeaaf3b66ab2888a7 100644
(file)
--- 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) {