Venkatesh Shukla 62e4c4069b Fix divelogs.de upload error
The order of arguments to fread was incorrect.
In case of arguments "streamsize, 1" the returning value is 1, and
hence due to membuf[streamsize] = 0; line, membuf ends up being one
character long.
Fixed it by exchanging arguments to "1, streamsize". This way,
streamsize has the correct value.

Fixes #483

Signed-off-by: Venkatesh Shukla <venkatesh.shukla.eee11@iitbhu.ac.in>
Acked-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-04-05 13:30:16 -07:00
..
2014-04-03 12:52:05 -07:00
2014-02-27 20:09:57 -08:00
2014-02-27 20:09:57 -08:00
2014-02-08 08:00:27 -08:00
2014-02-27 11:44:59 -08:00
2014-04-02 10:21:02 -07:00
2014-04-02 10:21:02 -07:00
2014-02-27 20:09:57 -08:00
2014-02-27 20:09:57 -08:00
2014-03-03 13:29:22 -08:00
2014-04-02 12:47:41 -07:00