aboutsummaryrefslogtreecommitdiff
path: root/src/bi_string.m4
diff options
context:
space:
mode:
Diffstat (limited to 'src/bi_string.m4')
-rw-r--r--src/bi_string.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bi_string.m4 b/src/bi_string.m4
index 82aa30dd..dadad8aa 100644
--- a/src/bi_string.m4
+++ b/src/bi_string.m4
@@ -1,5 +1,5 @@
/* This file is part of mailfromd. -*- c -*-
- Copyright (C) 2006, 2007 Sergey Poznyakoff
+ Copyright (C) 2006, 2007, 2008 Sergey Poznyakoff
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -56,7 +56,7 @@ MF_DEFUN(substring, STRING, STRING string, NUMBER start, NUMBER end)
start = t;
}
- MF_ASSERT(start < len && end < len, mf_range,
+ MF_ASSERT(start < len && end < len, mfe_range,
_("Argument out of range"));
len = end - start + 1;
@@ -74,11 +74,11 @@ MF_DEFUN(substr, STRING, STRING string, NUMBER start, OPTIONAL, NUMBER nbytes)
long len = strlen(string);
char *s;
- MF_ASSERT(start >= 0, mf_range,
+ MF_ASSERT(start >= 0, mfe_range,
_("Argument out of range: start=%ld"), start);
if (!MF_DEFINED(nbytes))
nbytes = len - start;
- MF_ASSERT(nbytes >= 0, mf_range,
+ MF_ASSERT(nbytes >= 0, mfe_range,
_("Argument out of range: start=%ld, len=%ld"), start, len);
s = MF_ALLOC_HEAP(off, nbytes + 1);

Return to:

Send suggestions and report system problems to the System administrator.