summaryrefslogtreecommitdiff
path: root/docs/man/man3/StrHashComp.3
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-25 03:51:56 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-25 03:51:56 +0000
commit52899de0ff2d62ca0542b243c41626010bf62083 (patch)
treeb9c92bbdb7d65a7467cbd6ebcbc31dc2f96e09e3 /docs/man/man3/StrHashComp.3
parent0340f1a432d684347d8dbc3aa85c8436c56d4039 (diff)
Documentation update
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@899 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs/man/man3/StrHashComp.3')
-rw-r--r--docs/man/man3/StrHashComp.316
1 files changed, 8 insertions, 8 deletions
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