aboutsummaryrefslogtreecommitdiffstats
path: root/regex.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--regex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regex.c b/regex.c
index 4409af9..f26d9b8 100644
--- a/regex.c
+++ b/regex.c
@@ -1,4 +1,4 @@
-/* $Id: regex.c,v 1.12 2002/01/16 02:50:04 ukai Exp $ */
+/* $Id: regex.c,v 1.13 2002/01/16 04:38:06 ukai Exp $ */
/*
* regex: Regular expression pattern match library
*
@@ -175,8 +175,8 @@ newRegex0(char **ex, int igncase, Regex *regex, char **msg, int level)
if (st_ptr >= &regex->storage[STORAGE_MAX]) {
if (msg)
*msg = "Regular expression too long";
+ return NULL;
}
- return NULL;
}
*(st_ptr++) = '\0';
re->p.pattern = r;