projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af74979
)
vss.c recv_afs_msg(): Set cmsg only once.
author
Andre Noll
<maan@systemlinux.org>
Sun, 28 Oct 2007 01:52:08 +0000
(
02:52
+0100)
committer
Andre Noll
<maan@systemlinux.org>
Sun, 28 Oct 2007 01:52:08 +0000
(
02:52
+0100)
vss.c
patch
|
blob
|
history
diff --git
a/vss.c
b/vss.c
index 03621e0076a9abc72e14a75c03c6cb2c1c82a00c..ee63d103d07bd4bd608871d17278e85811952e78 100644
(file)
--- a/
vss.c
+++ b/
vss.c
@@
-347,7
+347,6
@@
static int recv_afs_msg(int *fd, uint32_t *code, uint32_t *data)
return -E_SHORT_AFS_READ;
*code = *(uint32_t*)buf;
*data = *(uint32_t*)(buf + 4);
- cmsg = CMSG_FIRSTHDR(&msg);
for (cmsg = CMSG_FIRSTHDR(&msg); cmsg; cmsg = CMSG_NXTHDR(&msg, cmsg)) {
if (cmsg->cmsg_level != SOL_SOCKET
|| cmsg->cmsg_type != SCM_RIGHTS)