Pavel Labath
0f94f409a1
Fix an some strange code found by a clang warning
2013-07-13 19:42:20 +02:00
Pavel Labath
5e6a5fdb3c
htons() is not needed when using getaddrinfo (sf.net #3055612 )
...
patch sumbitted by Ben Kibbey
2010-08-30 12:06:50 +02:00
Pavel Labath
6b45fe1ef0
fix apcupsd compilation
2010-08-19 16:26:34 +02:00
Pavel Labath
abeadb59d7
Use getaddrinfo instead of gethostbyname
...
Patches conky to use getaddrinfo instead of gethostbyname everywhere. gethostbyname is rather
flawed and doesn't support IPv6 properly.
Patch contributed by Pascal Bleser
2010-08-15 15:56:36 +02:00
Nikolas Garofil
a32d9e41a4
Bugfix: memory and thread-deleting problems
...
For example the following config had a problem:
TEXT
$i8k_cpu_temp
I could fix it shorter, but then valgrind would still show memleaks
2010-05-05 18:46:04 +02:00
Nikolas Garofil
043b12b15a
cpp-ify a lot of files
2010-02-09 13:11:56 +01:00