summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2008-01-21 17:18:32 +0000
committerpixel <pixel>2008-01-21 17:18:32 +0000
commit3d363ac042ecba8fe9c7091a2a9158dda7ccc0f8 (patch)
treeebc795ef01e48b933da63ba3f19c6ab57479465d
parent55c77ac08247fead12a95ba700232f0095655b70 (diff)
Fixing the getpattern of Domain......
-rw-r--r--lib/Domain.cc6
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;