Skip to content
Snippets Groups Projects
Commit 7b88707d authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Merge remote-tracking branch 'origin/master' into v320a_dev

parents c97c8fb1 6a19711b
Branches
Tags
No related merge requests found
......@@ -249,6 +249,10 @@ BinkP.prototype.send_chunks = function(str) {
var sent = 0;
while (sent < str.length) {
if (this.sock.poll(this.timeout, /* write: */true) == 0) {
log(LOG_WARNING, "TIMEOUT of socket poll() for write");
return false;
}
ret = this.sock.send(str.substr(sent));
if (ret > 0)
sent += ret;
......
......@@ -166,8 +166,6 @@ bool sbbs_t::unpack_qwk(char *packet,uint hubnum)
n=(uint)block[123]|(((uint)block[124])<<8); /* conference number */
if(blocks<2) {
if(block[0] == 'V' && blocks == 1 && voting != NULL) { /* VOTING DATA */
if(qwk_msg_filtered(&msg, ip_can, host_can, subject_can, twit_list))
continue;
if(!qwk_voting(&voting, l, NET_QWK, cfg.qhub[hubnum]->id, n, hubnum)) {
lprintf(LOG_WARNING, "QWK vote failure, offset %lu in %s", l, packet);
errors++;
......
......@@ -197,8 +197,6 @@ bool sbbs_t::unpack_rep(char* repfile)
long confnum = atol((char *)block+1);
if(blocks<2) {
if(block[0] == 'V' && blocks == 1 && voting != NULL) { /* VOTING DATA */
if(qwk_msg_filtered(&msg, ip_can, host_can, subject_can, twit_list))
continue;
if(!qwk_voting(&voting, l, (useron.rest&FLAG('Q')) ? NET_QWK : NET_NONE, /* QWKnet ID : */useron.alias, confnum)) {
lprintf(LOG_WARNING, "QWK vote failure, offset %ld of %s", l, getfname(msg_fname));
errors++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment