From 7db5fc838a7f701e495d41b0ff6a070591c84340 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 24 May 2010 11:59:29 +0200 Subject: Fix uninit memory read in undo code. Fix uint32_t in proto file. A few minor changes. --- src/integration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/integration.c') 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) { -- cgit v1.2.3