summaryrefslogtreecommitdiff
path: root/src/irc_string.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-01-25 21:09:56 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-01-25 21:09:56 +0000
commit4a3da8dcd051266aa6a4e6617f1d13b2e217d776 (patch)
treee7404b698115ab0bba4951cd88119fec4d54ab5c /src/irc_string.c
parent74ae0f92cc73db9afda251ae32a6c4d973a96cb5 (diff)
- Clean up all files in src/ (fixed indentation, removed whitespaces/tabs)
- Fixed copyright years git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2917 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src/irc_string.c')
-rw-r--r--src/irc_string.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/irc_string.c b/src/irc_string.c
index 1dd1ba7..3ad8f93 100644
--- a/src/irc_string.c
+++ b/src/irc_string.c
@@ -1,8 +1,7 @@
/*
- * ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
- * irc_string.c: IRC string functions.
+ * ircd-hybrid: an advanced, lightweight Internet Relay Chat Daemon (ircd)
*
- * Copyright (C) 2002 by the past and present ircd coders, and others.
+ * Copyright (c) 1997-2014 ircd-hybrid development team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -18,8 +17,11 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
- *
- * $Id$
+ */
+
+/*! \file irc_string.c
+ * \brief IRC string functions.
+ * \version $Id$
*/
#include "config.h"
@@ -56,7 +58,7 @@ has_wildcards(const char *str)
* might break things in other places...)
*
*
- * Thu Nov 24 18:22:48 1986
+ * Thu Nov 24 18:22:48 1986
*/
const char *
myctime(time_t value)
@@ -98,7 +100,6 @@ strip_tabs(char *dest, const char *src, size_t len)
*
*/
#ifndef HAVE_STRTOK_R
-
char *
strtoken(char** save, char* str, const char* fs)
{
@@ -150,7 +151,7 @@ libio_basename(const char *path)
/*
* strlcat and strlcpy were ripped from openssh 2.5.1p2
- * They had the following Copyright info:
+ * They had the following Copyright info:
*
*
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -161,9 +162,9 @@ libio_basename(const char *path)
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
* 3. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
@@ -178,7 +179,7 @@ libio_basename(const char *path)
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
+
#ifndef HAVE_STRLCAT
size_t
strlcat(char *dst, const char *src, size_t siz)