Code

Renamed `host' and `port' to `global_host' and `global_port' to distinguish between...
authorocto <octo>
Sat, 20 May 2006 10:37:15 +0000 (10:37 +0000)
committerocto <octo>
Sat, 20 May 2006 10:37:15 +0000 (10:37 +0000)
commit25a54a08826915867d1341010ead6d530c526437
tree1b522f280dc01f7ab64d51894fd533229b08a1b1
parent4ec014a1f6db6c736839a1a10d20c81459828752
Renamed `host' and `port' to `global_host' and `global_port' to distinguish between the global and the local variables.
Improved the config function: Set `global_host' to NULL if not configured and copy the value otherwise. Don't use a static variable within the config routine and reference to it..
src/apcups.c