net: fix maxuploadtarget setting
commitf3552da81393a8e78ce3e2afed0b9c9d1ff5cee0
authorCory Fields <cory-nospam-@coryfields.com>
Mon, 12 Sep 2016 19:04:20 +0000 (12 15:04 -0400)
committerCory Fields <cory-nospam-@coryfields.com>
Wed, 14 Sep 2016 17:14:04 +0000 (14 13:14 -0400)
tree84ba797f7f67e1790d156b3425648249c446bcf2
parenta82e5d8220bbc8b5d786bed99b0876f530b9b7cc
net: fix maxuploadtarget setting

This was broken by 63cafa6329e1a.

Note that while this fixes the settings, it doesn't fix the actual usage of
-maxuploadtarget completely, as there is currently a bug in the
nOptimisticBytesWritten accounting that causes a delayed response if the target
is reached. That bug will be addressed separately.
src/init.cpp
src/net.cpp
src/net.h