aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--io.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/io.c b/io.c
index 925b13ed..ba969067 100644
--- a/io.c
+++ b/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);