1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

2005-02-14 Moritz Schulte <moritz@g10code.com>

* command-ssh.c (uint32_construct): New macro ...
	(stream_read_uint32): ... use it; removed unnecessary cast.
This commit is contained in:
Moritz Schulte 2005-02-14 20:44:22 +00:00
parent c4b986c731
commit fce56851f0
3 changed files with 15 additions and 18 deletions

View file

@ -1168,7 +1168,7 @@ create_server_socket (int is_standard_name, const char *name)
agent_exit (2);
}
serv_addr = malloc (sizeof (*serv_addr)); /* FIXME. */
memset (serv_addr, 0, sizeof *serv_addr);
serv_addr->sun_family = AF_UNIX;
assert (strlen (name) + 1 < sizeof (serv_addr->sun_path));