git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
142b2a6
)
librpc: Remove usage of max and replace with improved range.
author
Tim Prouty
<tprouty@samba.org>
Sat, 17 Jan 2009 22:42:20 +0000
(14:42 -0800)
committer
Tim Prouty
<tprouty@samba.org>
Sun, 18 Jan 2009 03:38:20 +0000
(19:38 -0800)
librpc/idl/eventlog.idl
patch
|
blob
|
history
diff --git
a/librpc/idl/eventlog.idl
b/librpc/idl/eventlog.idl
index fbdec28be734b83b58a679765a15a30f885b73fd..51b3ea706e32207deedc6756ede369cd1cff1400 100644
(file)
--- a/
librpc/idl/eventlog.idl
+++ b/
librpc/idl/eventlog.idl
@@
-40,7
+40,7
@@
import "lsa.idl", "security.idl";
time_t time_written;
uint32 event_id;
eventlogEventTypes event_type;
- [
max(
256)] uint16 num_of_strings;
+ [
range(0,
256)] uint16 num_of_strings;
uint16 event_category;
uint16 reserved_flags;
uint32 closing_record_number;