Re: Duplicate Cancel-Lock: header

Robert Grimm <[email protected]>
Newsgroups gmane.network.slrn.user
Organization Disorganized
Message-ID <[email protected]>
Robert Grimm <[email protected]> wrote:
> Patch:

With the last patch the Cancel-Lock header is being posted but is lost
afterwards.
Next try.
#v+
--- /tmp/post.c 2007-07-11 14:51:12.742205383 +0200
+++ src/post.c  2007-07-11 15:04:24.000000000 +0200
@@ -1589,6 +1589,7 @@
                            SLFREE (canlock);
                            Slrn_Post_Obj->po_puts(a->cline->buf);
                            Slrn_Post_Obj->po_puts("\n");
+                           a->cline->next->prev=a->cline;
                            a->cline=a->cline->next;
                         }
 #endif /* SLRN_HAS_CANLOCK */
@@ -1606,6 +1607,7 @@
                            SLFREE (msgid);
                            Slrn_Post_Obj->po_puts(a->cline->buf);
                            Slrn_Post_Obj->po_puts("\n");
+                           a->cline->next->prev=a->cline;
                            a->cline=a->cline->next;
                         }
                    }
#v-

Rob
-- 
> Ich kenn mich mit OpenBSD kaum aus, was sind denn da so die
> Vorteile gegenueber Linux und iptables?
Der Fuchsschwanzeffekt ist größer. :->
	Sven Geggus und Heiko Schlenker in de.comp.os.unix.misc


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.