projects
/
oweals
/
dinit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b028e1e
)
next_for_console was not being set null when a service queued for
author
Davin McCall
<davmac@davmac.org>
Sun, 19 Jun 2016 14:16:10 +0000
(15:16 +0100)
committer
Davin McCall
<davmac@davmac.org>
Sun, 19 Jun 2016 14:16:10 +0000
(15:16 +0100)
the console (and was not initialised).
src/service.h
patch
|
blob
|
history
diff --git
a/src/service.h
b/src/service.h
index b1b1963bb70119e39c38a9bdb2093c6bcfb95440..eed59e621cb3094e34b33df119fa7c607bc1493f 100644
(file)
--- a/
src/service.h
+++ b/
src/service.h
@@
-680,6
+680,7
@@
class ServiceSet
{
auto prev_tail = console_queue_tail;
console_queue_tail = newTail;
+ newTail->next_for_console = nullptr;
if (! prev_tail) {
console_queue_head = newTail;
enable_console_log(false);