git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
838d419
)
- check whether to return notifid in NotifReceive()
author
Jiří Škrábal
<nykolas@ics.muni.cz>
Wed, 10 Nov 2004 15:39:14 +0000
(15:39 +0000)
committer
Jiří Škrábal
<nykolas@ics.muni.cz>
Wed, 10 Nov 2004 15:39:14 +0000
(15:39 +0000)
org.glite.lb.client/src/notification.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.client/src/notification.c
b/org.glite.lb.client/src/notification.c
index
12b6cbf
..
72ee5bb
100644
(file)
--- a/
org.glite.lb.client/src/notification.c
+++ b/
org.glite.lb.client/src/notification.c
@@
-695,8
+695,10
@@
int edg_wll_NotifReceive(
goto err;
}
- *id_out = event->notification.notifId;
- event->notification.notifId = NULL;
+ if ( id_out ) {
+ *id_out = event->notification.notifId;
+ event->notification.notifId = NULL;
+ }
err:
@@
-878,8
+880,10
@@
select:
goto err;
}
- *id_out = event->notification.notifId;
- event->notification.notifId = NULL;
+ if ( id_out ) {
+ *id_out = event->notification.notifId;
+ event->notification.notifId = NULL;
+ }
err: