projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mbslen: Avoid collision with system function.
[gnulib.git]
/
lib
/
getdomainname.c
diff --git
a/lib/getdomainname.c
b/lib/getdomainname.c
index
6580753
..
95ca399
100644
(file)
--- a/
lib/getdomainname.c
+++ b/
lib/getdomainname.c
@@
-1,6
+1,6
@@
/* getdomainname emulation for systems that doesn't have it.
/* getdomainname emulation for systems that doesn't have it.
- Copyright (C) 2003, 2006, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2006, 2008
, 2009, 2010
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-38,7
+38,7
@@
int
getdomainname (char *name, size_t len)
{
int
getdomainname (char *name, size_t len)
{
- const char *result = ""; /* Hardcode your domain name if you want. */
+ const char *result = "";
/* Hardcode your domain name if you want. */
size_t result_len = strlen (result);
if (result_len > len)
size_t result_len = strlen (result);
if (result_len > len)