Changeset 16774 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Feb 15, 2009 4:23:47 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/base64.cpp
r16766 r16774 423 423 424 424 cch += (cch / RTBASE64_LINE_LEN) * RTBASE64_EOL_SIZE; 425 cch -= (cch % RTBASE64_LINE_LEN) == 0; 425 426 return cch; 426 427 } … … 432 433 433 434 cch += (cch / RTBASE64_LINE_LEN) * RTBASE64_EOL_SIZE; 435 cch -= (cch % RTBASE64_LINE_LEN) == 0; 434 436 return cch; 435 437 } … … 485 487 pbSrc += 3; 486 488 487 if (cbBuf == cbLineFeed) 489 /* deal out linefeeds */ 490 if (cbBuf == cbLineFeed && cbData) 488 491 { 489 492 if (cbBuf < RTBASE64_EOL_SIZE + 1)
Note:
See TracChangeset
for help on using the changeset viewer.