X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=vss.c;h=8ca37d435a40ce049b2ddfa0875325e41b4d61c9;hp=1f1f6c16bcb16608dc673303032ceb0c3b3833d0;hb=80e46ec589d14be2fa4b0704f613a04ecb1b64c4;hpb=9155acc014fef7023501789e877ce21fd570c284 diff --git a/vss.c b/vss.c index 1f1f6c16..8ca37d43 100644 --- a/vss.c +++ b/vss.c @@ -25,6 +25,7 @@ #include "net.h" #include "server.cmdline.h" #include "vss.h" +#include "list.h" #include "send.h" #include "ipc.h" #include "fd.h" @@ -362,7 +363,7 @@ static int recv_afs_msg(int *fd, uint32_t *code, uint32_t *data) return -ERRNO_TO_PARA_ERROR(errno); afsss = AFS_SOCKET_READY; if (iov.iov_len != sizeof(buf)) - return -E_SHORT_AFS_READ; + return -E_AFS_SHORT_READ; *code = *(uint32_t*)buf; *data = *(uint32_t*)(buf + 4); for (cmsg = CMSG_FIRSTHDR(&msg); cmsg; cmsg = CMSG_NXTHDR(&msg, cmsg)) {