commit | 8bc858587305f99dc6e3c2477adaa53dab09df23 | [log] [tgz] |
---|---|---|
author | Giampaolo Rodola' <g.rodola@gmail.com> | Mon Jan 09 17:10:10 2012 +0100 |
committer | Giampaolo Rodola' <g.rodola@gmail.com> | Mon Jan 09 17:10:10 2012 +0100 |
tree | ece227ea5c5cf4e22c1c678d57a78b7e4df30f29 | |
parent | 0c5e52f0bda92b653614c0cbbefc9ddcefb7a380 [diff] |
provide a common method to check for RETR_DATA validity, first checking the expected len and then the actual data content; this way we get a failure on len mismatch rather than content mismatch (which is very long and unreadable)