summaryrefslogtreecommitdiff
path: root/src/string_list.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2014-02-07 19:07:48 +0000
committerChristian Pointner <equinox@anytun.org>2014-02-07 19:07:48 +0000
commitcf6655a6e29d23132190b6c04c08ab372214b9a4 (patch)
tree7aca25034e17fcf03bde80cc816dc3d9027f2195 /src/string_list.c
parentcreated branch for RAIL mode (diff)
* inital commit for RAIL mode
- added information about it at manpage - updated output for --help * white space cleanups * updated copyright header
Diffstat (limited to 'src/string_list.c')
-rw-r--r--src/string_list.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/string_list.c b/src/string_list.c
index 5e0ddf8..260dd92 100644
--- a/src/string_list.c
+++ b/src/string_list.c
@@ -13,9 +13,9 @@
* message authentication based on the methodes used by SRTP. It is
* intended to deliver a generic, scaleable and secure solution for
* tunneling and relaying of packets of any protocol.
- *
*
- * Copyright (C) 2007-2010 Christian Pointner <equinox@anytun.org>
+ *
+ * Copyright (C) 2007-2014 Christian Pointner <equinox@anytun.org>
*
* This file is part of uAnytun.
*
@@ -43,7 +43,7 @@ void string_list_init(string_list_t* list)
{
if(!list)
return;
-
+
list->first_ = NULL;
}
@@ -104,7 +104,7 @@ void string_list_print(string_list_t* list, const char* head, const char* tail)
{
if(!list)
return;
-
+
string_list_element_t* tmp = list->first_;
while(tmp) {
printf("%s%s%s", head, tmp->string_, tail);