Small fix posting news
This commit is contained in:
parent
1f9ffdbb42
commit
aebb30039f
@ -102,8 +102,8 @@ v0.91.5 18-Feb-2007 - 05-Mar-2007
|
|||||||
archives.
|
archives.
|
||||||
|
|
||||||
mbnntp:
|
mbnntp:
|
||||||
Reading news outputs UTF-8 coded articles.
|
Reading news outputs UTF-8 coded articles. Posting is done
|
||||||
TODO: test posting and fix if needed.
|
with the client side charset and translated when needed.
|
||||||
|
|
||||||
mbtask:
|
mbtask:
|
||||||
Fixed a too low memory allocation in clencode.
|
Fixed a too low memory allocation in clencode.
|
||||||
|
@ -290,6 +290,15 @@ void command_group(char *cmd)
|
|||||||
*/
|
*/
|
||||||
if (msgs.Active && (msgs.Type == ECHOMAIL) && strlen(msgs.Newsgroup) &&
|
if (msgs.Active && (msgs.Type == ECHOMAIL) && strlen(msgs.Newsgroup) &&
|
||||||
(strcasecmp(opt, msgs.Newsgroup) == 0) && Access(usrconfig.Security, msgs.RDSec)) {
|
(strcasecmp(opt, msgs.Newsgroup) == 0) && Access(usrconfig.Security, msgs.RDSec)) {
|
||||||
|
/*
|
||||||
|
* Returns:
|
||||||
|
* 211 n f l s group selected
|
||||||
|
* (n = estimated number of articles in group,
|
||||||
|
* f = first article number in the group,
|
||||||
|
* l = last article number in the group,
|
||||||
|
* s = name of the group.)
|
||||||
|
* 411 no such news group
|
||||||
|
*/
|
||||||
if (Msg_Open(msgs.Base)) {
|
if (Msg_Open(msgs.Base)) {
|
||||||
Msg_Number();
|
Msg_Number();
|
||||||
Msg_Highest();
|
Msg_Highest();
|
||||||
|
@ -265,7 +265,7 @@ void nntp(void)
|
|||||||
if (len == 0)
|
if (len == 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (strcasecmp(buf, (char*)"AUTHINFO PASS")) {
|
if (strcasestr(buf, "AUTHINFO PASS") == NULL) {
|
||||||
Syslog('n', "< \"%s\"", printable(buf, 0));
|
Syslog('n', "< \"%s\"", printable(buf, 0));
|
||||||
} else {
|
} else {
|
||||||
Syslog('n', "< \"AUTHINFO PASS ********\"");
|
Syslog('n', "< \"AUTHINFO PASS ********\"");
|
||||||
|
Reference in New Issue
Block a user