Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
22bd7a3d
Commit
22bd7a3d
authored
May 22, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
May 23, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Don't clear the QS_POSTMESSAGE flag if there is a pending quit message.
parent
0fd18477
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
queue.c
server/queue.c
+6
-2
No files found.
server/queue.c
View file @
22bd7a3d
...
@@ -482,7 +482,8 @@ static void remove_queue_message( struct msg_queue *queue, struct message *msg,
...
@@ -482,7 +482,8 @@ static void remove_queue_message( struct msg_queue *queue, struct message *msg,
if
(
list_empty
(
&
queue
->
msg_list
[
kind
]
))
clear_queue_bits
(
queue
,
QS_SENDMESSAGE
);
if
(
list_empty
(
&
queue
->
msg_list
[
kind
]
))
clear_queue_bits
(
queue
,
QS_SENDMESSAGE
);
break
;
break
;
case
POST_MESSAGE
:
case
POST_MESSAGE
:
if
(
list_empty
(
&
queue
->
msg_list
[
kind
]
))
clear_queue_bits
(
queue
,
QS_POSTMESSAGE
|
QS_ALLPOSTMESSAGE
);
if
(
list_empty
(
&
queue
->
msg_list
[
kind
]
)
&&
!
queue
->
quit_message
)
clear_queue_bits
(
queue
,
QS_POSTMESSAGE
|
QS_ALLPOSTMESSAGE
);
break
;
break
;
}
}
free_message
(
msg
);
free_message
(
msg
);
...
@@ -702,8 +703,11 @@ static int get_quit_message( struct msg_queue *queue, unsigned int flags,
...
@@ -702,8 +703,11 @@ static int get_quit_message( struct msg_queue *queue, unsigned int flags,
reply
->
info
=
0
;
reply
->
info
=
0
;
if
(
flags
&
GET_MSG_REMOVE
)
if
(
flags
&
GET_MSG_REMOVE
)
{
queue
->
quit_message
=
0
;
queue
->
quit_message
=
0
;
if
(
list_empty
(
&
queue
->
msg_list
[
POST_MESSAGE
]
))
clear_queue_bits
(
queue
,
QS_POSTMESSAGE
|
QS_ALLPOSTMESSAGE
);
}
return
1
;
return
1
;
}
}
else
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment