From fa6a5bf94a3716c0554e2bcbe0eb4b0912f15604 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 10 May 2001 23:55:33 +0000 Subject: [PATCH] Needs to be >=, not just >. Jeremy. --- source/lib/util_str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/util_str.c b/source/lib/util_str.c index 78366fceb78..0f32fda63c9 100644 --- a/source/lib/util_str.c +++ b/source/lib/util_str.c @@ -591,7 +591,7 @@ BOOL trim_string(char *s,const char *front,const char *back) * Kenichi Okuyama. */ - if ( back && back_len > 1 && s_len > back_len) { + if ( back && back_len > 1 && s_len >= back_len) { char *bP = sP + s_len - back_len; long b_len = s_len;