Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154910408
D33408.id99914.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
419 B
Referenced Files
None
Subscribers
None
D33408.id99914.diff
View Options
Index: stand/libsa/net.c
===================================================================
--- stand/libsa/net.c
+++ stand/libsa/net.c
@@ -101,10 +101,9 @@
tmo = MINTMO;
tlast = 0;
tleft = 0;
- tref = getsecs();
- t = getsecs();
+ tref = t = getsecs();
for (;;) {
- if (MAXWAIT > 0 && (getsecs() - tref) >= MAXWAIT) {
+ if (MAXWAIT > 0 && (t - tref) >= MAXWAIT) {
errno = ETIMEDOUT;
return -1;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 30, 11:43 PM (20 m, 18 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32545289
Default Alt Text
D33408.id99914.diff (419 B)
Attached To
Mode
D33408: loader: ip: Do not call getsecs so much
Attached
Detach File
Event Timeline
Log In to Comment