Move nmem_reset up to beginning of loop, as it is a pre-condition.
authorDennis Schafroth <dennis@indexdata.com>
Thu, 10 May 2012 06:50:01 +0000 (08:50 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Thu, 10 May 2012 06:50:01 +0000 (08:50 +0200)
commit407df3f2f9da2bb3911bd3819b9fb966f4ea2264
tree497a4b97c93f6a1c9d00ff122e1352fb5d4b40a5
parent1b8ab0c484647e2043127af345f7767422de0af8
Move nmem_reset up to beginning of loop, as it is a pre-condition.

Should work as previous, but will report fewer nmem 0 bytes usage.
One extra nmem_reset (on a empty) call is the price.
src/client.c