From 0a2cc569a1803f459f7db77d03e6e90ae30aa35d Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 2 Apr 2007 20:10:21 +0000 Subject: r22045: As Volker noticed, skip_string's last argument is redundent. Remove it. Jeremy. (This used to be commit 140881cfbb59ce4a699b5900efe02bf315be7bd5) --- source3/lib/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/util.c') diff --git a/source3/lib/util.c b/source3/lib/util.c index b558571a77..64afa1cc53 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -3168,7 +3168,7 @@ char *get_safe_str_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t o return NULL; } /* Check if a valid string exists at this offset. */ - if (skip_string(buf_base,buf_len, ptr + off, 1) == NULL) { + if (skip_string(buf_base,buf_len, ptr + off) == NULL) { return NULL; } return ptr + off; -- cgit