projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46db19f
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Tue, 18 Oct 2011 07:46:37 +0000
(07:46 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 18 Oct 2011 07:46:37 +0000
(07:46 +0000)
src/ats/ats_api_scheduling.c
patch
|
blob
|
history
diff --git
a/src/ats/ats_api_scheduling.c
b/src/ats/ats_api_scheduling.c
index a6eeb8576af927c6e139b2ae2305c476c82c8230..c2280f70b58565268b6f0ea3cf508894a69cf90e 100644
(file)
--- a/
src/ats/ats_api_scheduling.c
+++ b/
src/ats/ats_api_scheduling.c
@@
-293,6
+293,8
@@
get_session_id (struct GNUNET_ATS_SchedulingHandle *sh,
unsigned int i;
unsigned int f;
+ if (NULL == session)
+ return 0;
f = 0;
for (i=1;i<sh->session_array_size;i++)
{