diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-08-09 22:08:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-08-09 22:08:57 +0200 |
commit | 1598f9937a18c056d7b713dc254325c8f8456c8f (patch) | |
tree | 09214c58d720d08ebf2396fa191ca05d88620d9c /src/evalfunc.c | |
parent | 38efd1d17a6e6aa2add71efdf2cde4a788e5f5e5 (diff) |
patch 8.1.0262: not enough testing for getftype()v8.1.0262
Problem: Not enough testing for getftype().
Solution: Add a test. (Dominique Pelle, closes #3300)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 31096d75db..9673a1ae3d 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -5111,7 +5111,7 @@ f_getftype(typval_T *argvars, typval_T *rettv) # endif # ifdef S_ISSOCK else if (S_ISSOCK(st.st_mode)) - t = "fifo"; + t = "socket"; # endif else t = "other"; |