Mercurial > vim
comparison src/if_xcmdsrv.c @ 15547:1dd0a47f4be2 v8.1.0781
patch 8.1.0781: build error when using if_xcmdsrv.c
commit https://github.com/vim/vim/commit/a502caab8bd396316a6eb5cb821b0a0df55c502a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 19 18:23:41 2019 +0100
patch 8.1.0781: build error when using if_xcmdsrv.c
Problem: Build error when using if_xcmdsrv.c.
Solution: Add missing part of 8.1.0779.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 19 Jan 2019 18:30:07 +0100 |
parents | 55ccc2d353bd |
children | 536dd2bc5ac9 |
comparison
equal
deleted
inserted
replaced
15546:9ced002163b2 | 15547:1dd0a47f4be2 |
---|---|
226 i = 1; | 226 i = 1; |
227 do | 227 do |
228 { | 228 { |
229 if (res < -1 || i >= 1000) | 229 if (res < -1 || i >= 1000) |
230 { | 230 { |
231 MSG_ATTR(_("Unable to register a command server name"), | 231 msg_attr(_("Unable to register a command server name"), |
232 HL_ATTR(HLF_W)); | 232 HL_ATTR(HLF_W)); |
233 return FAIL; | 233 return FAIL; |
234 } | 234 } |
235 if (p == NULL) | 235 if (p == NULL) |
236 p = alloc(STRLEN(name) + 10); | 236 p = alloc(STRLEN(name) + 10); |