72263dbbc4ab60663cdaa527752e19638f70ceb7 kent Sun May 5 11:32:54 2013 -0700 Improving comment for netWaitForData. diff --git src/lib/net.c src/lib/net.c index 50eba15..7b25511 100644 --- src/lib/net.c +++ src/lib/net.c @@ -558,31 +558,31 @@ } dyStringAppend(dy, npu->file); if (npu->byteRangeStart != -1) { dyStringPrintf(dy, ";byterange=%lld-", (long long)npu->byteRangeStart); if (npu->byteRangeEnd != -1) dyStringPrintf(dy, "%lld", (long long)npu->byteRangeEnd); } /* Clean up and return handle. */ return dyStringCannibalize(&dy); } int netWaitForData(int sd, int microseconds) /* Wait for descriptor to have some data to read, up to given number of - * number of microseconds. Returns amount of data there or zero if timed out. */ + * microseconds. Returns amount of data there or zero if timed out. */ { struct timeval tv; fd_set set; int readyCount; for (;;) { if (microseconds >= 1000000) { tv.tv_sec = microseconds/1000000; tv.tv_usec = microseconds%1000000; } else { tv.tv_sec = 0;