mirror of
https://github.com/postgres/postgres.git
synced 2025-08-08 06:02:22 +03:00
update.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: encode.c,v 1.4 2001/03/22 03:59:10 momjian Exp $
|
||||
* $Id: encode.c,v 1.4.2.1 2001/05/13 03:27:49 momjian Exp $
|
||||
*/
|
||||
|
||||
#include "postgres.h"
|
||||
@@ -349,7 +349,7 @@ hex_dec_len(uint srclen)
|
||||
uint
|
||||
b64_enc_len(uint srclen)
|
||||
{
|
||||
return srclen + (srclen / 3) + (srclen / (76 / 2));
|
||||
return srclen + (srclen + 2 / 3) + (srclen / (76 / 2)) + 2;
|
||||
}
|
||||
|
||||
uint
|
||||
|
Reference in New Issue
Block a user