From 420806e2920cf47b718f84040351fd3c72356caf Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 27 Nov 2009 13:10:48 +0100 Subject: [PATCH] s3: "socket_exist" only looks at the mode (cherry picked from commit 581a33494ae98282238d069c2874a0a46c3624be) --- source3/lib/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/lib/util.c b/source3/lib/util.c index 91b8436d117..8893338891e 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -546,7 +546,7 @@ bool file_exist_stat(const char *fname,SMB_STRUCT_STAT *sbuf) bool socket_exist(const char *fname) { SMB_STRUCT_STAT st; - if (sys_stat(fname, &st, lp_fake_dir_create_times()) != 0) + if (sys_stat(fname, &st, false) != 0) return(False); return S_ISSOCK(st.st_ex_mode); -- 2.11.4.GIT