From 350c8bc5e704ee7d8ebb327c2b3eecc1d8b5f669 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Thu, 14 Jan 2016 05:09:27 +0000
Subject: [PATCH] It's not clear from the binkp/1.1 spec if "A Mailer MAY
 switch to NR mode at any moment without notice" means that it won't sent an
 OPT ND.  Just in case, handle a -1 offset as though NR mode is enabled when
 version is 1.1.

---
 exec/load/binkp.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/load/binkp.js b/exec/load/binkp.js
index 2058e5c845..9173e9446d 100644
--- a/exec/load/binkp.js
+++ b/exec/load/binkp.js
@@ -412,7 +412,7 @@ BinkP.prototype.session = function()
 									size = 0;
 								if (parseInt(args[3], 10) < 0) {
 									// Non-reliable mode...
-									if (this.nonreliable) {
+									if (this.nonreliable || this.ver1_1) {
 										this.sendCmd(this.command.M_GET, this.escapeFileName(args[0])+' '+args[1]+' '+args[2]+' '+size);
 									}
 									else {
-- 
GitLab