Ticket #31730: packet.c.diff

File packet.c.diff, 421 bytes (added by thimo@…, 13 years ago)
Line 
1--- src/exec/dpexec/packet.c 2006-04-27 10:34:53.000000000 -0500
2+++ src/exec/dpexec/packet.c 2010-03-05 10:48:41.000000000 -0600
3@@ -143,6 +143,7 @@
4        {
5            if (sts > 0 && (!tmpbufferused || *tmpbufferused == 0))
6            {
7+ sts=0; // MHM change in case IOCTL fails
8                if(SFILEIoctl(_dxd_exSockFD, FIONBIO, &one) >= 0)
9                sts = writeToSFILE(_dxd_exSockFD, packet, length);
10                SFILEIoctl(_dxd_exSockFD, FIONBIO, &zero);