aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-13 16:01:56 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-13 16:06:29 -0400
commita1a5e35e9a80440c8674e9473988ccd66bb39e0c (patch)
treed0c0cfd6150b02ca8991b38b848673a5216c5162 /src/nvim/eval.c
parent163680a58ebb7d3b7c650454a3307f62e6d87f15 (diff)
downloadrneovim-a1a5e35e9a80440c8674e9473988ccd66bb39e0c.tar.gz
rneovim-a1a5e35e9a80440c8674e9473988ccd66bb39e0c.tar.bz2
rneovim-a1a5e35e9a80440c8674e9473988ccd66bb39e0c.zip
vim-patch:8.1.0262: not enough testing for getftype()
Problem: Not enough testing for getftype(). Solution: Add a test. (Dominique Pelle, closes vim/vim#3300) https://github.com/vim/vim/commit/1598f9937a18c056d7b713dc254325c8f8456c8f
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r--src/nvim/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 77f5360614..86f57ee5a2 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -9874,7 +9874,7 @@ static void f_getftype(typval_T *argvars, typval_T *rettv, FunPtr fptr)
# endif
# ifdef S_ISSOCK
else if (S_ISSOCK(mode))
- t = "fifo";
+ t = "socket";
# endif
else
t = "other";