The old code is redundant, since our caller looks like:
OldListen = _FontTransGetInetdListenInfo (inetdListener);
if (OldListen == NULL) {
FatalError("failed to initialize OldListen to inetd socket: %s\n",
strerror(errno));
}
Signed-off-by: Adam Jackson <[email protected]>
---
os/xfstrans.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/os/xfstrans.c b/os/xfstrans.c
index e147953..edc1d05 100644
--- a/os/xfstrans.c
+++ b/os/xfstrans.c
@@ -79,10 +79,7 @@ TRANS(GetInetdListenInfo) (int fd)
#endif
if (listen (fd, BACKLOG) < 0)
- {
- FatalError("listen() failed on inetd socket: %s\n",
- strerror(errno));
- }
+ return NULL;
/* Pass the inetd socket back through the connection setup code
* the same way as a cloned listening port
--
2.14.3
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel