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:
parent
c4b986c731
commit
fce56851f0
3 changed files with 15 additions and 18 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue