summaryrefslogtreecommitdiffstats
path: root/libvncclient/listen.c
diff options
context:
space:
mode:
authordscho <dscho>2004-12-01 18:21:39 +0000
committerdscho <dscho>2004-12-01 18:21:39 +0000
commit7d3b1c9762b5f2878e9783677677cb2b3aa10e7e (patch)
treecf6a503d0d89006e39de5f5c4393b89ba1d2c8e4 /libvncclient/listen.c
parentc641923d058c1f8927bb3169c5f78b0510adb72f (diff)
downloadlibtdevnc-7d3b1c9762b5f2878e9783677677cb2b3aa10e7e.tar.gz
libtdevnc-7d3b1c9762b5f2878e9783677677cb2b3aa10e7e.zip
use rfbClientErr to log errors, check if calloc succeded (both hinted by Andre Leiradella)
Diffstat (limited to 'libvncclient/listen.c')
-rw-r--r--libvncclient/listen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/listen.c b/libvncclient/listen.c
index 1e6f68b..a7e4259 100644
--- a/libvncclient/listen.c
+++ b/libvncclient/listen.c
@@ -77,7 +77,7 @@ listenForIncomingConnections(rfbClient* client)
switch (fork()) {
case -1:
- perror("fork");
+ rfbClientErr("fork");
return;
case 0: