diff options
| author | 2005-12-22 17:18:18 +0000 | |
|---|---|---|
| committer | 2005-12-22 17:18:18 +0000 | |
| commit | 4ffd644a14fa40b758f8937b06844861009bfec1 (patch) | |
| tree | 53f79a6d5efa581098363f6631d6f7170061bb93 /src/dnsqueue.cpp | |
| parent | Fixed encryption being set on a connection that has only just begun! (diff) | |
Optimized out strcpys that copy empty strings (craq++)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2637 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/dnsqueue.cpp')
| -rw-r--r-- | src/dnsqueue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp index eb3160ec4..3b6bd2103 100644 --- a/src/dnsqueue.cpp +++ b/src/dnsqueue.cpp @@ -68,12 +68,12 @@ private: public: Lookup() { - strcpy(u,""); + *u = 0; } void Reset() { - strcpy(u,""); + *u = 0; } ~Lookup() |
