git.samba.org
/
jra
/
samba
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r9791: r11611@blu: tridge | 2005-08-30 21:48:22 +1000
[jra/samba/.git]
/
source
/
lib
/
util.c
diff --git
a/source/lib/util.c
b/source/lib/util.c
index 173d755bec974c88992138bb4ce4cc79d97f43f1..2e0503b0d96ab2692843577042136ba53e9aaead 100644
(file)
--- a/
source/lib/util.c
+++ b/
source/lib/util.c
@@
-341,7
+341,7
@@
uint32_t interpret_addr(const char *str)
}
/* recognise 'localhost' as a special name. This fixes problems with
some hosts that don't have localhost in /etc/hosts */
- if (strcmp(str,"localhost") == 0) {
+ if (strc
asec
mp(str,"localhost") == 0) {
str = "127.0.0.1";
}