Article View: news.software.readers
Article #267714Re: Has tin forgotten me?
From: Urs Janßen
Date: Fri, 03 Jan 2025 03:46
Date: Fri, 03 Jan 2025 03:46
24 lines
2115 bytes
2115 bytes
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-
Technical Details
Message-ID:
<vl7mia$i4p$1@nntp.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!nntp.de!.POSTED.akk21-int.akk.kit.edu!not-for-mailReferences:
<vknh2h$c9m$1@reader2.panix.com> <vko2b4$ttr$1@nntp.de> <vkpe1a$iij$1@reader2.panix.com> <vkv9rn$qvt$2@reader2.panix.com> <vl0035$mjc$1@nntp.de> <vl6jv9$h57$1@reader2.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <vl7mia$i4p$1@nntp.de>
Subject: Re: Has tin forgotten me?
Date: Fri, 03 Jan 2025 03:46:18 +0000
From: Urs Janßen <urs@buil.tin.org>
References: <vknh2h$c9m$1@reader2.panix.com> <vko2b4$ttr$1@nntp.de> <vkpe1a$iij$1@reader2.panix.com> <vkv9rn$qvt$2@reader2.panix.com> <vl0035$mjc$1@nntp.de> <vl6jv9$h57$1@reader2.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!nntp.de!.POSTED.akk21-int.akk.kit.edu!not-for-mail
Newsgroups: news.software.readers
Organization: tin.org
Archive: no
Injection-Date: Fri, 3 Jan 2025 03:46:18 -0000 (UTC)
Injection-Info: nntp.de; posting-host="akk21-int.akk.kit.edu:129.13.131.67";
logging-data="18585"; mail-complaints-to="abuse@nntp.de"
User-Agent: tin/2.6.5-20241224 ("Helmsdale") (Linux/6.1.0-27-amd64 (x86_64))
Cancel-Lock: sha1:Y0SP3/1YYrmphPFLOvlPVzXBacs=
X-No-Archive: yes
X-No-HTML: yes