diff options
author | pixel <pixel> | 2008-01-21 17:18:32 +0000 |
---|---|---|
committer | pixel <pixel> | 2008-01-21 17:18:32 +0000 |
commit | 3d363ac042ecba8fe9c7091a2a9158dda7ccc0f8 (patch) | |
tree | ebc795ef01e48b933da63ba3f19c6ab57479465d /lib | |
parent | 55c77ac08247fead12a95ba700232f0095655b70 (diff) |
Fixing the getpattern of Domain......
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Domain.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Domain.cc b/lib/Domain.cc index 6f06476..18831c9 100644 --- a/lib/Domain.cc +++ b/lib/Domain.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Domain.cc,v 1.4 2007-06-19 21:31:51 pixel Exp $ */ +/* $Id: Domain.cc,v 1.5 2008-01-21 17:18:32 pixel Exp $ */ #include "Domain.h" @@ -32,11 +32,11 @@ Domain * Domain::Next() { } String Domain::GetPattern() { - pattern.GetPattern(); + return pattern.GetPattern(); } Domain::Domain(const Regex & _pattern) : pattern(_pattern) { - printm(M_INFO, "Creating Domain @ %p, with pattern = " + pattern.GetPattern() + "\n", this); + printm(M_INFO, "Creating Domain with pattern = " + pattern.GetPattern() + "\n", this); prev = 0; next = head; head = this; |