Ignore:
Timestamp:
09/14/02 18:31:06 (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0af7c20
Parents:
ce2c216
Message:

2002-09-14 Joel Sherrill <joel@…>

  • kern/uipc_socket.c: Fix case on SO_RCVTIMEO and SO_SNDTIMEO where conversion into ticks can result in a 0 ticks timeout which is the same as requesting no timeout. Reported by Sergei Organov <osv@…>.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/kern/uipc_socket.c

    rce2c216 r144b94f  
    962962                        }
    963963                        val = tv->tv_sec * hz + tv->tv_usec / tick;
     964                        if (val == 0)
     965                                val = 1;
    964966
    965967                        switch (optname) {
Note: See TracChangeset for help on using the changeset viewer.