mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-20 04:51:58 -04:00
Made write_sbuf() non-static.
This commit is contained in:
1 parent
66a9dc9639
commit
cf338ab1be
1 file changed
+1
-2
@@ -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