Toggle navigation
Sign in
taskrambler
/
libtrdata
·
Commits
GitLab
Go to group
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Forks
Snippets
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
28134883d66f2043c7cc67f47aeaa42f12bec79d
Authored by
Georg Hopp
2014-08-28 23:03:53 +0100
1 parent
9d8045fb
small fix in queuePutFirst
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/queue/put_first.c
src/queue/put_first.c
View file @
2813488
...
...
@@ -31,6 +31,7 @@ TR_queuePutFirst(TR_Queue this, void * msg)
31
31
this
->
first
=
TR_new
(
TR_Queue
);
32
32
this
->
first
->
next
=
current_first
;
33
33
this
->
first
->
msg
=
msg
;
34
+
this
->
last
=
this
->
last
?
this
->
last
:
this
->
first
;
34
35
this
->
nmsg
++
;
35
36
}
36
37
...
...
Please
register
or
login
to post a comment