summaryrefslogtreecommitdiffstats
path: root/src/integration.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-24 11:59:29 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-24 11:59:29 +0200
commit7db5fc838a7f701e495d41b0ff6a070591c84340 (patch)
treeac8f061dafa07580e8b6cf3fedcd290a9f43d3ac /src/integration.c
parent55debbe38429b81c0ce6e8400aef36812eb151d7 (diff)
Fix uninit memory read in undo code. Fix uint32_t in proto file.
A few minor changes.
Diffstat (limited to 'src/integration.c')
-rw-r--r--src/integration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/integration.c b/src/integration.c
index c86a8a5fe7..9da6e2faa0 100644
--- a/src/integration.c
+++ b/src/integration.c
@@ -662,7 +662,7 @@ void workshop_connect(XtAppContext context)
/* Get the server internet address and put into addr structure */
/* fill in the socket address structure and connect to server */
- memset((char *)&server, '\0', sizeof(server));
+ vim_memset((char *)&server, '\0', sizeof(server));
server.sin_family = AF_INET;
server.sin_port = port;
if ((host = gethostbyname(NOCATGETS("localhost"))) == NULL) {