commit | ac20956a8f3fbb91fc3cdf4cb2ae1ae384652770 | [log] [tgz] |
---|---|---|
author | Jean-Paul Calderone <exarkun@twistedmatrix.com> | Sun Mar 30 11:26:32 2014 -0400 |
committer | Jean-Paul Calderone <exarkun@twistedmatrix.com> | Sun Mar 30 11:26:32 2014 -0400 |
tree | b599c2e06a714ac26c540ea5ea883e1ab9133ef8 | |
parent | 7c556ef6ab9e721b25f2704c306d0ef2dd66dae0 [diff] |
Refactor the implementation to avoid duplication; use the result of the API to determine the proper buffer size to use.