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
d8b2c214e9e616ac6ec9a727f9d4af12046f03d7
Authored by
Georg Hopp
2014-08-30 19:08:53 +0100
1 parent
96d30bb5
small fix in delete
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
src/queue/delete.c
src/queue/delete.c
View file @
d8b2c21
...
...
@@ -35,6 +35,9 @@ TR_queueDelete(TR_Queue this, void * msg)
35
35
if
(
node
==
this
->
last
)
{
36
36
this
->
last
=
parent
;
37
37
}
38
+
if
(
node
==
this
->
first
)
{
39
+
this
->
first
=
node
->
next
;
40
+
}
38
41
TR_delete
(
node
);
39
42
this
->
nmsg
--
;
40
43
}
...
...
Please
register
or
login
to post a comment