[PATCH] fix wrong usage of gethostname()
Tim Jansen
tim at tjansen.de
Wed Dec 18 00:40:02 GMT 2002
On Wednesday 18 December 2002 01:29, Thiago Macieira wrote:
> > [RFC] Add getHostname convenience function to kdelibs? (was: Re:
> > [PATCH] Make the default sending domain configurable)
> >on http://lists.kde.org/?l=kde-core-devel.
> I did get to write the function and add it to my local copy of KGlobal, but
> the result was too complex and didn't get accepted. I can repost the patch
> if anyone wants it.
IMHO the API would be more usable if you would use 4 different functions,
instead of one function that takes a constant to identify the kind of
hostname.
bye...
More information about the kde-core-devel
mailing list