diff --git a/rpcclient.cpp b/rpcclient.cpp index 8eac593..c6991bf 100644 --- a/rpcclient.cpp +++ b/rpcclient.cpp @@ -24,9 +24,7 @@ #define POVERLAY_READ_INCOMPLETE -105 #define POVERLAY_READ_INVALID_RESPONSE -106 -RpcClient::RpcClient() { - this->sockpath = "/tmp/pcloud_unix_soc.sock"; -} +RpcClient::RpcClient() {} RpcClient::~RpcClient() {} diff --git a/rpcclient.h b/rpcclient.h index be42ccc..4c11f23 100644 --- a/rpcclient.h +++ b/rpcclient.h @@ -13,8 +13,6 @@ typedef enum _pCloud_FileState { class RpcClient { private: - const char *sockpath; - int connectSocket(const char *sockpath, char **out, size_t *out_size); int writeRequest(int fd, int msgtype, const char *value, char **out, size_t *out_size); int readResponse(int fd, char **out, size_t *out_size);