projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3883c8
)
Add assert for non-NULL session
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 11 Mar 2010 11:41:09 +0000
(12:41 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 11 Mar 2010 11:41:09 +0000
(12:41 +0100)
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index
99a02aa
..
e2c66d3
100644
(file)
--- a/
src/session.c
+++ b/
src/session.c
@@
-414,6
+414,7
@@
int session_set_watch(struct session *s, int what,
void session_alert_watch(struct session *s, int what)
{
+ assert(s);
session_enter(s);
if (s->watchlist[what].fun)
{