aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 3b24182..39763c8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -52,8 +52,7 @@ void txbuf_send(void) {
}
void txbuf_send_str(const char *str) {
- txbuf_init();
- txbuf_append_str(str);
+ txbuf_set_str(str);
txbuf_send();
}