Expand return code range

main
Bob Mottram 2020-04-16 20:17:19 +01:00
parent 9dbcf8f20e
commit c73f4970c5
1 changed files with 2 additions and 2 deletions

View File

@ -6935,7 +6935,7 @@ class PubServer(BaseHTTPRequestHandler):
queueStatus = \
self._updateInboxQueue(self.postToNickname,
messageJson, messageBytes)
if queueStatus >= 0 and queueStatus <= 2:
if queueStatus >= 0 and queueStatus <= 3:
return
if self.server.debug:
print('_updateInboxQueue exited ' +
@ -6952,7 +6952,7 @@ class PubServer(BaseHTTPRequestHandler):
print('DEBUG: POST to shared inbox')
queueStatus = \
self._updateInboxQueue('inbox', messageJson, messageBytes)
if queueStatus >= 0 and queueStatus <= 2:
if queueStatus >= 0 and queueStatus <= 3:
return
self._200()
self.server.POSTbusy = False