[RFC] Add getHostname convenience function to kdelibs? (was: Re: [PATCH] Make the default sending domain configurable)

Ingo Klöcker ingo.kloecker at epost.de
Sat Apr 20 14:32:28 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 20 April 2002 14:58, Thiago Macieira wrote:
> Here goes a patch. Any more suggestions?

+         str[len] = '\0';

Shouldn't this be str[len-1] = '\0'; ?

Regards,
Ingo

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8wW3sGnR+RTDgudgRAkOiAKCkK6Rfinotzgwe1X002UYAL8iFtwCgkWO9
hqgn4nSrWvBCUgLLfqMFpAU=
=k1ZX
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list