mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Better implementation for the SRV check. We don't need to actually check
all the header files individually since the SRV test compile uses them together.
This commit is contained in:
parent
afe8ca4fbf
commit
f539f3d2b2
3 changed files with 10 additions and 3 deletions
|
@ -826,6 +826,7 @@ connect_server( const char *server, ushort port, unsigned int flags,
|
|||
srvlist=m_alloc_clear(sizeof(struct srventry));
|
||||
srvlist->port=port;
|
||||
strncpy(srvlist->target,server,MAXDNAME);
|
||||
srvlist->target[MAXDNAME-1]='\0';
|
||||
srvcount=1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue