aboutsummaryrefslogtreecommitdiffhomepage
path: root/env_universal_common.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-08 02:39:22 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-08 02:39:22 -0800
commit552d8f394e7aa11f44fff479a69e93b81a9b2376 (patch)
treecef188b7b140f28bc54b0fd9a3ee39f0cf1b6fd5 /env_universal_common.cpp
parentf8e01628b2352d551d99e7e005653bc1ae20485b (diff)
Make fishd base its variable files on the MAC address instead of hostname
Diffstat (limited to 'env_universal_common.cpp')
-rw-r--r--env_universal_common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/env_universal_common.cpp b/env_universal_common.cpp
index 0a8bcfaa..4f419bfe 100644
--- a/env_universal_common.cpp
+++ b/env_universal_common.cpp
@@ -276,7 +276,7 @@ start_conversion:
/* FreeBSD has this prototype: size_t iconv (iconv_t, const char **...)
OS X and Linux this one: size_t iconv (iconv_t, char **...)
AFAIK there's no single type that can be passed as both char ** and const char **.
- So we cast the function pointer instead (!)
+ Hence this hack.
*/
nconv = hack_iconv(cd, &in, &in_len, &nout, &out_len);