forked from pool/libtirpc
28 lines
790 B
Diff
28 lines
790 B
Diff
|
From 3f4eb06275519308e74e103a0c7681adbd13b7b3 Mon Sep 17 00:00:00 2001
|
||
|
From: Thorsten Kukuk <kukuk@thkukuk.de>
|
||
|
Date: Thu, 25 Feb 2016 13:01:20 +0100
|
||
|
Subject: [PATCH 5/5] The goto again statement was an left over from the port
|
||
|
to poll() interface and needs to be removed. Else we will end in an endless
|
||
|
loop in case we run out of filedescriptors.
|
||
|
|
||
|
Signed-off-by: Thorsten Kukuk <kukuk@thkukuk.de>
|
||
|
---
|
||
|
src/svc_vc.c | 1 -
|
||
|
1 file changed, 1 deletion(-)
|
||
|
|
||
|
diff --git a/src/svc_vc.c b/src/svc_vc.c
|
||
|
index 7415244..d2135c5 100644
|
||
|
--- a/src/svc_vc.c
|
||
|
+++ b/src/svc_vc.c
|
||
|
@@ -346,7 +346,6 @@ again:
|
||
|
descriptors. */
|
||
|
struct timespec ts = { .tv_sec = 0, .tv_nsec = 50000000 };
|
||
|
nanosleep (&ts, NULL);
|
||
|
- goto again;
|
||
|
}
|
||
|
return (FALSE);
|
||
|
}
|
||
|
--
|
||
|
1.8.5.6
|
||
|
|