diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-05-24 11:59:29 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-05-24 11:59:29 +0200 |
commit | 7db5fc838a7f701e495d41b0ff6a070591c84340 (patch) | |
tree | ac8f061dafa07580e8b6cf3fedcd290a9f43d3ac /src/integration.c | |
parent | 55debbe38429b81c0ce6e8400aef36812eb151d7 (diff) | |
download | vim-git-7db5fc838a7f701e495d41b0ff6a070591c84340.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/integration.c b/src/integration.c index c86a8a5fe..9da6e2faa 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) { |