- Timestamp:
- 11/08/18 14:31:51 (2 years ago)
- Branches:
- develop, master
- Children:
- bc86030
- Parents:
- 8d24b12
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_ndag.c
r8d24b12 rcf7cca1 945 945 int *gottime, recvstream_t *rt) { 946 946 947 int ret, ndagstat ;947 int ret, ndagstat, avail; 948 948 int toret = 0; 949 949 950 950 #if HAVE_DECL_RECVMMSG 951 int i , avail;951 int i; 952 952 #endif 953 953 954 avail = init_receivers(ssock, ssock->bufavail); 954 955 955 956 #if HAVE_DECL_RECVMMSG 956 avail = init_receivers(ssock, ssock->bufavail);957 957 ret = recvmmsg(ssock->sock, ssock->mmsgbufs, avail, 958 958 MSG_DONTWAIT, NULL); 959 959 #else 960 if (avail != 1) { 961 return 0; 962 } 963 960 964 ret = recvmsg(ssock->sock, &(ssock->singlemsg), MSG_DONTWAIT); 961 965 #endif
Note: See TracChangeset
for help on using the changeset viewer.