From 8d137d97858a618c8c5451bb7b11fb95990540c8 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 27 Apr 2006 16:05:05 +0000 Subject: r15295: Fix some dependencies Move unistr-specific code to lib/charset/. Remove _m from some places where it's not needed. (This used to be commit 03224e112424968fc3f547c6159c7ccae2d1aa5b) --- source4/lib/util/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/util/util.c') diff --git a/source4/lib/util/util.c b/source4/lib/util/util.c index 0354d17097..c674ed23b4 100644 --- a/source4/lib/util/util.c +++ b/source4/lib/util/util.c @@ -289,7 +289,7 @@ _PUBLIC_ char* get_myname(void) hostname[host_name_max] = '\0'; /* split off any parts after an initial . */ - p = strchr_m(hostname,'.'); + p = strchr(hostname,'.'); if (p) *p = 0; @@ -311,7 +311,7 @@ _PUBLIC_ BOOL is_ipaddress(const char *str) pure_address = False; /* Check that a pure number is not misinterpreted as an IP */ - pure_address = pure_address && (strchr_m(str, '.') != NULL); + pure_address = pure_address && (strchr(str, '.') != NULL); return pure_address; } -- cgit