Why not brackets
Set bytesTotal when it's NULL
Better pointer/variable naming
There's absolutely no need for checking download file here
Update ChangeLog
Merge branch 'master' into fix-#56-crash-when-downloading-from-bitbucket
Merge pull request #57 from Alir3z4/fix-#56-crash-when-downloading-from-bitbucket

Fix #56 crash when downloading from bitbucket
Fixes #56