summaryrefslogtreecommitdiff
path: root/source4/lib/util/system.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-27 16:05:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:03 -0500
commit8d137d97858a618c8c5451bb7b11fb95990540c8 (patch)
tree19cb5130f64c02dba17cc53950233fc1c0e02974 /source4/lib/util/system.c
parent8ee028df8839323b4d7c9e8dbea21e9169629cf3 (diff)
downloadsamba-8d137d97858a618c8c5451bb7b11fb95990540c8.tar.gz
samba-8d137d97858a618c8c5451bb7b11fb95990540c8.tar.bz2
samba-8d137d97858a618c8c5451bb7b11fb95990540c8.zip
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)
Diffstat (limited to 'source4/lib/util/system.c')
-rw-r--r--source4/lib/util/system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/util/system.c b/source4/lib/util/system.c
index 5f8db9ef63..9fec2a50e3 100644
--- a/source4/lib/util/system.c
+++ b/source4/lib/util/system.c
@@ -52,7 +52,7 @@ _PUBLIC_ struct hostent *sys_gethostbyname(const char *name)
/* Does this name have any dots in it? If so, make no change */
- if (strchr_m(name, '.'))
+ if (strchr(name, '.'))
return(gethostbyname(name));
/* Get my hostname, which should have domain name
@@ -62,7 +62,7 @@ _PUBLIC_ struct hostent *sys_gethostbyname(const char *name)
gethostname(hostname, sizeof(hostname) - 1);
hostname[sizeof(hostname) - 1] = 0;
- if ((domain = strchr_m(hostname, '.')) == NULL)
+ if ((domain = strchr(hostname, '.')) == NULL)
return(gethostbyname(name));
/* Attach domain name to query and do modified query.