summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-03-27 08:58:28 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-03-27 08:58:28 +0000
commit0cb069a6b1e9e597318e0890b0b565261d06acd4 (patch)
tree3fa8ed79e4c45ef8e4db5781c3d06e8e9fa7cc30 /client.c
parent52fb9ca2500b10eb0720d9c9271484e7c90e719a (diff)
Use lstat. No change yet due to realpath call in tmux.c.
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index dc15bdfa..23112fb1 100644
--- a/client.c
+++ b/client.c
@@ -1,4 +1,4 @@
-/* $Id: client.c,v 1.43 2009-02-08 16:11:26 nicm Exp $ */
+/* $Id: client.c,v 1.44 2009-03-27 08:58:28 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -48,7 +48,7 @@ client_init(
struct buffer *b;
char *name;
- if (stat(path, &sb) != 0) {
+ if (lstat(path, &sb) != 0) {
if (start_server && errno == ENOENT) {
if ((cctx->srv_fd = server_start(path)) == -1)
goto start_failed;