projects
/
lcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8cbd5d
)
fixed end-pointer bug on forwarded messages. thanx to bodo for this bugfix.
author
Andreas Eversberg
<andreas@eversberg.eu>
Tue, 6 Jan 2009 17:44:41 +0000
(18:44 +0100)
committer
Andreas Eversberg
<andreas@eversberg.eu>
Tue, 6 Jan 2009 17:44:41 +0000
(18:44 +0100)
modified: message.c
message.c
patch
|
blob
|
history
diff --git
a/message.c
b/message.c
index
9821265
..
ff0d70c
100644
(file)
--- a/
message.c
+++ b/
message.c
@@
-49,6
+49,8
@@
void message_put(struct lcr_msg *message)
*messagepointer_end = message;
messagepointer_end = &(message->next);
+ /* Nullify next pointer if recycled messages */
+ *messagepointer_end=NULL;
}
struct lcr_msg *message_forward(int id_from, int id_to, int flow, union parameter *param)