summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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;