[PATCH] cancel_article() corrections and minor other changes

Dennis Preiser <[email protected]> Thu, 21 May 2009 15:05:54 +0200
Newsgroups gmane.network.tin.devel
Message-ID <[email protected]>
Hello,

attached a (small) patch which deals with the following issues:

post.c:cancel_article():

- When canceling an own article and FORGERY + EVIL_INSIDE are defined  
no message-id is generated.
- If FORGERY is not defined, redraw_screen never becomes TRUE. Thus,  
tin doesn't switch back to article level after canceling an article  
or after 'q'uitting the cancel process (draw_page() isn't called in  
page.c:show_page():755 because cancel_article() returns FALSE).

Other changes:

- fixed a typo in auth.c:authinfo_plain()
- removed an unnecessary variable in attrib.c:add_scope() (only used  
to return zero)
- insert a clear_message() in newsrc.c:read_newsrc() in order to  
clear the line proper after 'reread active file' ('Y')

Dennis
20090521.diff.gz (application/x-gzip, 970 B) - not displayed