git://git.jankratochvil.net
/
captive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3abdf2d
)
KeInitializeEvent(): Fixed sanity check
author
short
<>
Mon, 4 Nov 2002 08:58:02 +0000
(08:58 +0000)
committer
short
<>
Mon, 4 Nov 2002 08:58:02 +0000
(08:58 +0000)
src/libcaptive/ke/event.c
patch
|
blob
|
history
diff --git
a/src/libcaptive/ke/event.c
b/src/libcaptive/ke/event.c
index
5a9d142
..
a3175e1
100644
(file)
--- a/
src/libcaptive/ke/event.c
+++ b/
src/libcaptive/ke/event.c
@@
-35,7
+35,7
@@
VOID KeInitializeEvent(PKEVENT Event,EVENT_TYPE Type,BOOLEAN State)
{
g_return_if_fail(Event!=NULL);
- g_return_if_fail(Type
!=NotificationEvent && Type!
=SynchronizationEvent);
+ g_return_if_fail(Type
==NotificationEvent || Type=
=SynchronizationEvent);
/* TODO:thread */
}