From 52899de0ff2d62ca0542b243c41626010bf62083 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 25 Mar 2005 03:51:56 +0000 Subject: Documentation update git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@899 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/man/man3/StrHashComp.3 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'docs/man/man3/StrHashComp.3') diff --git a/docs/man/man3/StrHashComp.3 b/docs/man/man3/StrHashComp.3 index 953b79a2c..138cf2edb 100644 --- a/docs/man/man3/StrHashComp.3 +++ b/docs/man/man3/StrHashComp.3 @@ -1,4 +1,4 @@ -.TH "StrHashComp" 3 "2 May 2004" "InspIRCd" \" -*- nroff -*- +.TH "StrHashComp" 3 "25 Mar 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -17,15 +17,15 @@ StrHashComp \- .PP .SS "bool StrHashComp::operator() (const string & s1, const string & s2) const\fC [inline]\fP" .PP -Definition at line 122 of file modules.cpp. +Definition at line 137 of file modules.cpp. .PP .nf -123 { -124 char a[MAXBUF],b[MAXBUF]; -125 strcpy(a,s1.c_str()); -126 strcpy(b,s2.c_str()); -127 return (strcasecmp(a,b) == 0); -128 } +138 { +139 char a[MAXBUF],b[MAXBUF]; +140 strlcpy(a,s1.c_str(),MAXBUF); +141 strlcpy(b,s2.c_str(),MAXBUF); +142 return (strcasecmp(a,b) == 0); +143 } .fi -- cgit v1.2.3