mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 07:30:32 +02:00
* Replaced SCM_CHARS with SCM_STRING_CHARS or SCM_SYMBOL_CHARS.
This commit is contained in:
parent
c1aef03710
commit
86c991c2a2
17 changed files with 48 additions and 32 deletions
|
@ -709,7 +709,7 @@ SCM_DEFINE (scm_recv, "recv!", 2, 1, 0,
|
|||
SCM_VALIDATE_INUM_DEF_COPY (3,flags,0,flg);
|
||||
fd = SCM_FPORT_FDES (sock);
|
||||
|
||||
SCM_SYSCALL (rv = recv (fd, SCM_CHARS (buf), SCM_LENGTH (buf), flg));
|
||||
SCM_SYSCALL (rv = recv (fd, SCM_STRING_CHARS (buf), SCM_LENGTH (buf), flg));
|
||||
if (rv == -1)
|
||||
SCM_SYSERROR;
|
||||
|
||||
|
@ -807,7 +807,7 @@ SCM_DEFINE (scm_recvfrom, "recvfrom!", 2, 3, 0,
|
|||
fd = SCM_FPORT_FDES (sock);
|
||||
|
||||
tmp_size = scm_addr_buffer_size;
|
||||
SCM_SYSCALL (rv = recvfrom (fd, SCM_CHARS (buf) + offset,
|
||||
SCM_SYSCALL (rv = recvfrom (fd, SCM_STRING_CHARS (buf) + offset,
|
||||
cend - offset, flg,
|
||||
(struct sockaddr *) scm_addr_buffer,
|
||||
&tmp_size));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue