From aaedbf93f1a8e6da3fbd2ce7433888d45c9efe5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Janouch?=
Date: Sun, 13 Jul 2014 21:27:38 +0200
Subject: Load an MOTD on start
---
src/common.c | 7 +++++++
1 file changed, 7 insertions(+)
(limited to 'src/common.c')
diff --git a/src/common.c b/src/common.c
index 8ec6646..f35493f 100644
--- a/src/common.c
+++ b/src/common.c
@@ -277,6 +277,13 @@ str_vector_free (struct str_vector *self)
self->vector = NULL;
}
+static void
+str_vector_reset (struct str_vector *self)
+{
+ str_vector_free (self);
+ str_vector_init (self);
+}
+
static void
str_vector_add_owned (struct str_vector *self, char *s)
{
--
cgit v1.2.3