fixed off-by-one error in previous commit
authorArt Cancro <ajc@citadel.org>
Thu, 23 Mar 2017 20:30:44 +0000 (16:30 -0400)
committerArt Cancro <ajc@citadel.org>
Thu, 23 Mar 2017 20:30:44 +0000 (16:30 -0400)
ctdlsh/mailq.c

index f897841..772c242 100644 (file)
@@ -28,7 +28,7 @@ void mailq_show_this_queue_entry(StrBuf *MsgText) {
                        printf("Last delivery attempt: %s", asctime(localtime(&attempted)));
                }
                else if (!strncasecmp(ChrPtr(Line), HKEY("bounceto|"))) {
-                       printf("Sender: %s\n", ChrPtr(Line)+10);
+                       printf("Sender: %s\n", ChrPtr(Line)+9);
                }
                else if (!strncasecmp(ChrPtr(Line), HKEY("remote|"))) {
                        printf("Recipient: %s\n", ChrPtr(Line)+7);