mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-05-18 11:55:32 -04:00
Made write_sbuf() non-static.
This commit is contained in:
3
io.c
3
io.c
@@ -1035,12 +1035,11 @@ void write_buf(int f,char *buf,size_t len)
|
||||
}
|
||||
|
||||
/** Write a string to the connection */
|
||||
static void write_sbuf(int f,char *buf)
|
||||
void write_sbuf(int f, char *buf)
|
||||
{
|
||||
writefd(f, buf, strlen(buf));
|
||||
}
|
||||
|
||||
|
||||
void write_byte(int f,unsigned char c)
|
||||
{
|
||||
writefd(f, (char *)&c, 1);
|
||||
|
||||
Reference in New Issue
Block a user