X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/fe66e2b32214dc0b461d5e60db9acf39f6c2f7be..5f8669c5e6eeaa456ebe99415e532671ba3bd15f:/debian/patches/debian-specific/Md.etc_mailname_gethostbyname.diff diff --git a/debian/patches/debian-specific/Md.etc_mailname_gethostbyname.diff b/debian/patches/debian-specific/Md.etc_mailname_gethostbyname.diff index 0e8dcf8..13a96b6 100644 --- a/debian/patches/debian-specific/Md.etc_mailname_gethostbyname.diff +++ b/debian/patches/debian-specific/Md.etc_mailname_gethostbyname.diff @@ -3,16 +3,16 @@ used, rather than calling gethostbyname() on the actual hostname --- a/init.c +++ b/init.c -@@ -47,6 +47,7 @@ +@@ -48,6 +48,7 @@ #include #include #include +#include #include #include - + #include @@ -2952,6 +2953,31 @@ - return 0; + srandom(seed); } +int getmailname(char *s, size_t l) @@ -43,7 +43,7 @@ used, rather than calling gethostbyname() on the actual hostname void mutt_init (int skip_sys_rc, LIST *commands) { struct passwd *pw; -@@ -3026,10 +3052,25 @@ +@@ -3027,10 +3053,25 @@ Hostname = mutt_substrdup (utsname.nodename, p); p++; strfcpy (buffer, p, sizeof (buffer)); /* save the domain for below */