Skip to content

Commit

Permalink
Range is zero based, fix ending byte count.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Dec 30, 2013
1 parent b8bd750 commit cf453c0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -196,7 +196,7 @@ protected function _handle()
}
if (!$this->_encoder->multipart) {
$msg->total = $this->_getDataSize($msg->data);
$msg->range = '0-' . $msg->total;
$msg->range = '0-' . ($msg->total - 1);
}
$this->_outputStatus();
$this->_encoder->startTag(Horde_ActiveSync::AIRSYNCBASE_FILEREFERENCE);
Expand Down

0 comments on commit cf453c0

Please sign in to comment.