From 3d363ac042ecba8fe9c7091a2a9158dda7ccc0f8 Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 21 Jan 2008 17:18:32 +0000 Subject: Fixing the getpattern of Domain...... --- lib/Domain.cc | 6 +++--- 1 file 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; -- cgit v1.2.3