Gavin Andresen
d5d1425657
Bug fix: CDataStream::GetAndClear() when nReadPos > 0
...
Changed CDataStream::GetAndClear() to use the most obvious
get get and clear instead of a tricky swap().
Added a unit test for CDataStream insert/erase/GetAndClear.
Note: GetAndClear() is not performance critical, it is used only
by the send-a-message-to-the-network code. Bug was not noticed
before now because the send-a-message code never erased from the
stream.
2013-10-29 11:20:14 +10:00
..
2013-10-22 05:43:46 -04:00
2013-08-24 22:21:41 +02:00
2013-09-18 17:11:41 -04:00
2013-10-27 03:35:30 -07:00
2013-10-29 11:20:14 +10:00
2013-09-18 07:07:41 -04:00
2013-09-18 20:39:25 +10:00
2013-09-18 20:39:25 +10:00
2013-09-18 20:39:25 +10:00
2013-10-20 15:25:06 -04:00
2013-10-20 14:29:24 +07:00
2013-10-20 16:14:26 -07:00
2013-10-20 15:25:06 -04:00
2013-10-20 15:25:06 -04:00
2013-10-21 09:22:48 +02:00
2013-10-21 09:22:48 +02:00
2013-10-03 15:06:31 +02:00
2013-10-21 09:22:48 +02:00
2013-10-22 05:43:46 -04:00
2013-10-24 09:03:02 +02:00
2013-08-20 02:27:26 -07:00
2013-08-20 02:27:26 -07:00
2013-10-20 15:25:06 -04:00
2013-10-15 12:13:54 +02:00
2013-10-20 15:25:06 -04:00
2013-10-20 15:25:06 -04:00
2013-04-03 19:57:13 -04:00
2013-09-05 21:31:03 -04:00
2013-10-20 15:25:06 -04:00
2013-09-18 20:39:25 +10:00
2013-10-15 11:09:29 +02:00
2013-10-20 15:25:06 -04:00
2013-10-20 16:14:26 -07:00
2013-10-20 15:25:06 -04:00
2013-10-20 22:25:44 +02:00
2013-06-24 00:56:45 +02:00
2013-10-20 15:25:06 -04:00
2013-10-22 20:43:19 +02:00
2013-10-21 09:22:48 +02:00
2013-10-20 22:25:44 +02:00
2013-08-28 23:53:26 -07:00
2013-10-20 15:25:06 -04:00
2013-10-20 15:25:06 -04:00
2013-09-18 20:39:25 +10:00
2013-09-18 20:39:25 +10:00
2013-04-01 11:56:22 -04:00
2013-10-27 02:23:36 -04:00
2013-10-27 02:23:36 -04:00
2013-10-21 09:22:48 +02:00
2013-09-18 17:12:39 -04:00
2013-10-20 22:25:44 +02:00
2013-10-20 15:25:06 -04:00
2013-10-21 02:23:05 -07:00
2013-10-21 02:23:05 -07:00
2013-10-20 15:25:06 -04:00
2013-10-20 15:25:06 -04:00
2013-10-20 15:25:06 -04:00
2013-10-20 15:25:06 -04:00
2013-10-20 15:25:06 -04:00
2013-10-20 22:25:44 +02:00
2013-10-20 22:25:44 +02:00
2013-10-20 22:25:44 +02:00
2013-10-24 09:03:02 +02:00
2013-10-20 22:25:44 +02:00
2013-10-24 09:03:02 +02:00
2013-10-21 22:47:24 -07:00
2013-10-21 22:47:24 -07:00
2013-10-29 11:20:14 +10:00
2013-10-20 15:41:15 +10:00
2013-10-20 15:25:06 -04:00
2012-11-11 00:53:00 -03:00
2013-10-20 22:25:44 +02:00
2013-10-20 15:25:06 -04:00
2013-04-03 19:58:47 -04:00
2013-10-20 15:25:06 -04:00
2013-10-20 16:14:26 -07:00
2013-10-20 15:25:06 -04:00
2013-06-29 14:16:50 +02:00
2013-01-16 12:48:02 -05:00
2013-10-22 15:34:11 +10:00
2013-10-20 15:25:06 -04:00
2013-10-20 22:25:44 +02:00
2013-10-20 22:25:44 +02:00