Re: Has tin forgotten me?

Liste des GroupesRevenir à ns readers 
Sujet : Re: Has tin forgotten me?
De : urs (at) *nospam* buil.tin.org (Urs Janßen)
Groupes : news.software.readers
Date : 03. Jan 2025, 04:46:18
Autres entêtes
Organisation : tin.org
Message-ID : <vl7mia$i4p$1@nntp.de>
References : 1 2 3 4 5 6
User-Agent : tin/2.6.5-20241224 ("Helmsdale") (Linux/6.1.0-27-amd64 (x86_64))
In Louis Epstein <le@lekno.ws> wrote:
then you should add one (or figure out why the fallback to USER@HOST
doesn't work anymore (you would need to inspect the source for that).
I had always relied on that fallback.

I think I've figured that out (we've changed some internal structs to use
less memory but failed to adjust some (the patch below is a shortend version
to fix your issue) checks for (non)-empty-strings.

#v+
=== modified file 'src/header.c'
--- old/src/header.c 2024-12-15 14:03:16 +0000
+++ new/src/header.c 2025-01-03 03:22:39 +0000
@@ -288,7 +288,7 @@
 {
  const char *fromhost = domain_name;
 
- if (thisgrp && thisgrp->attribute->from && *thisgrp->attribute->from) {
+ if (thisgrp && thisgrp->attribute->from && *thisgrp->attribute->from && strchr(*thisgrp->attribute->from, '@')) {
  strcpy(from_name, *thisgrp->attribute->from);
  return;
  }

#v-

Date Sujet#  Auteur
28 Dec 24 * Has tin forgotten me?9le
28 Dec 24 +* Re: Has tin forgotten me?6Urs Janßen
28 Dec 24 i`* Re: Has tin forgotten me?5le
31 Dec 24 i `* Re: Has tin forgotten me?4le
31 Dec 24 i  `* Re: Has tin forgotten me?3Urs Janßen
2 Jan 25 i   `* Re: Has tin forgotten me?2Louis Epstein
3 Jan 25 i    `- Re: Has tin forgotten me?1Urs Janßen
28 Dec 24 `* Re: Has tin forgotten me?2John McCue
28 Dec 24  `- Re: Has tin forgotten me?1le

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal