Rob van der Putten wrote:
Package: mailto
Version: 1.2.6
Version: 1.3.2
Hi there
Mailto uses gethostbyname() to get the hostname;
/* Get the local hostname for later insertion */
gethostname(localhost, sizeof(localhost));
if ( index(localhost, '.')) {
Hi there
On Sat, 17 Mar 2007, Martin Schulze wrote:
Please be more verbose.
Why should gethostname() not return the valid hostname of the host
it runs on?
If it doesn't return something useful, I'd expect /etc/hostname and
thus the hostname setting to be bogus and correction-requiring.
On
Rob van der Putten wrote:
Hi there
On Sat, 17 Mar 2007, Martin Schulze wrote:
Please be more verbose.
Why should gethostname() not return the valid hostname of the host
it runs on?
If it doesn't return something useful, I'd expect /etc/hostname and
thus the hostname setting to be
Package: mailto
Version: 1.2.6
Version: 1.3.2
Hi there
Mailto uses gethostbyname() to get the hostname;
/* Get the local hostname for later insertion */
gethostname(localhost, sizeof(localhost));
if ( index(localhost, '.')) {
snprintf(hostname,
4 matches
Mail list logo