From 6c40ae29a879eb7d7a70cbea9e3ff16e643ccce7 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 7 Oct 2013 11:55:08 +0000 Subject: whitespace cleanups updated copyright notice git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@68 e61f0598-a718-4e21-a8f0-0aadfa62ad6b --- src/string_list.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/string_list.c') diff --git a/src/string_list.c b/src/string_list.c index e197749..8715f65 100644 --- a/src/string_list.c +++ b/src/string_list.c @@ -1,14 +1,14 @@ /* * tcpproxy * - * tcpproxy is a simple tcp connection proxy which combines the - * features of rinetd and 6tunnel. tcpproxy supports IPv4 and - * IPv6 and also supports connections from IPv6 to IPv4 + * tcpproxy is a simple tcp connection proxy which combines the + * features of rinetd and 6tunnel. tcpproxy supports IPv4 and + * IPv6 and also supports connections from IPv6 to IPv4 * endpoints and vice versa. - * * - * Copyright (C) 2010-2011 Christian Pointner - * + * + * Copyright (C) 2010-2013 Christian Pointner + * * This file is part of tcpproxy. * * tcpproxy is free software: you can redistribute it and/or modify @@ -46,7 +46,7 @@ int string_list_add(string_list_t* list, const char* string) { if(!list) return -1; - + char* tmp = strdup(string); if(slist_add(list, tmp) == NULL) { free(tmp); @@ -60,7 +60,7 @@ void string_list_print(string_list_t* list, const char* head, const char* tail) { if(!list) return; - + slist_element_t* tmp = list->first_; while(tmp) { printf("%s%s%s", head, (char*)(tmp->data_), tail); -- cgit v1.2.3