projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a82a069
)
Fix ambigious condition
author
Nikolaus Rath
<Nikolaus@rath.org>
Sun, 5 Jun 2016 19:45:49 +0000
(15:45 -0400)
committer
Nikolaus Rath
<Nikolaus@rath.org>
Sun, 5 Jun 2016 19:45:49 +0000
(15:45 -0400)
Fixes #42.
util/ulockmgr_server.c
patch
|
blob
|
history
diff --git
a/util/ulockmgr_server.c
b/util/ulockmgr_server.c
index baef45dccc5d842c510b480d097be659051c726c..273c7d9231ae2f7822c07a40d81a4045667673f1 100644
(file)
--- a/
util/ulockmgr_server.c
+++ b/
util/ulockmgr_server.c
@@
-92,7
+92,7
@@
static int receive_message(int sock, void *buf, size_t buflen, int *fdp,
cmsg = CMSG_FIRSTHDR(&msg);
if (cmsg) {
- if (
!cmsg->cmsg_type =
= SCM_RIGHTS) {
+ if (
cmsg->cmsg_type !
= SCM_RIGHTS) {
fprintf(stderr,
"ulockmgr_server: unknown control message %d\n",
cmsg->cmsg_type);