Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 354921
Collapse All | Expand All

(-)./g15daemon-1.9.5.3/libg15daemon_client/g15daemon_net.c (-1 / +1 lines)
Lines 217-223 Link Here
217
    if(poll(pfd,1,100)>0){
217
    if(poll(pfd,1,100)>0){
218
       if(pfd[0].revents & POLLPRI && !(pfd[0].revents & POLLERR || pfd[0].revents & POLLHUP || pfd[0].revents & POLLNVAL)) { 
218
       if(pfd[0].revents & POLLPRI && !(pfd[0].revents & POLLERR || pfd[0].revents & POLLHUP || pfd[0].revents & POLLNVAL)) { 
219
             memset(packet,0,sizeof(packet));
219
             memset(packet,0,sizeof(packet));
220
             msgret = recv(sock, packet, 10 , MSG_OOB);
220
             msgret = recv(sock, packet, sizeof(packet), MSG_OOB);
221
             if (msgret < 1) {
221
             if (msgret < 1) {
222
                  return -1;
222
                  return -1;
223
              }
223
              }

Return to bug 354921