Changeset 2292067


Ignore:
Timestamp:
May 1, 2020, 1:27:56 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
1268ad8
Parents:
6136ecc
Message:

Fix copy-paste error in io.cfa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/io.cfa

    r6136ecc r2292067  
    628628ssize_t cfa_sendmsg(int sockfd, const struct msghdr *msg, int flags) {
    629629        #if !defined(HAVE_LINUX_IO_URING_H) || !defined(IORING_OP_SENDMSG)
    630                 return recv(sockfd, msg, flags);
     630                return sendmsg(sockfd, msg, flags);
    631631        #else
    632632                __submit_prelude
     
    641641ssize_t cfa_recvmsg(int sockfd, struct msghdr *msg, int flags) {
    642642        #if !defined(HAVE_LINUX_IO_URING_H) || !defined(IORING_OP_RECVMSG)
    643                 return recv(sockfd, msg, flags);
     643                return recvmsg(sockfd, msg, flags);
    644644        #else
    645645                __submit_prelude
Note: See TracChangeset for help on using the changeset viewer.