From b2e3b09fe361640e80eb1b1e9ba007ddd75a7cb7 Mon Sep 17 00:00:00 2001
From: Utku Ozdemir <utku@mobilabsolutions.com>
Date: Wed, 2 Oct 2019 19:11:49 +0300
Subject: [PATCH] Fix deserialization error on download dir free space (#14)

---
 session.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/session.go b/session.go
index 6176ae6..d4d2db0 100644
--- a/session.go
+++ b/session.go
@@ -24,7 +24,7 @@ type (
 		//Config_dir                   string `json:"config-dir"`
 		//Dht_enabled                  bool   `json:"dht-enabled"`
 		DownloadDir          string `json:"download-dir"`
-		DownloadDirFreeSpace uint64 `json:"download-dir-free-space"`
+		DownloadDirFreeSpace int64 `json:"download-dir-free-space"`
 		DownloadQueueEnabled bool   `json:"download-queue-enabled"`
 		DownloadQueueSize    int    `json:"download-queue-size"`
 		//Encryption                 string `json:"encryption"`
-- 
GitLab