mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-16 16:50:21 +02:00
* net_db.c (scm_getserv): add missing SCM_ALLOW_INTS.
use htons in getservbyport argument.
This commit is contained in:
parent
920235cc17
commit
65b376c7f2
3 changed files with 9 additions and 2 deletions
|
@ -465,7 +465,7 @@ scm_addr_vector (address, proc)
|
|||
ve[2] = scm_ulong2num ((unsigned long) ntohs (nad->sin_port));
|
||||
}
|
||||
else
|
||||
scm_misc_error (proc, "Unrecognised internet address type: %s",
|
||||
scm_misc_error (proc, "Unrecognised address family: %s",
|
||||
scm_listify (SCM_MAKINUM (fam), SCM_UNSPECIFIED));
|
||||
|
||||
return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue