From ed4897b7ef69e862806a8c07f1fd475262d0c36e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 24 Jul 2019 20:58:51 +0300 Subject: massive warning fix --- protocols/CloudFile/src/http_request.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'protocols/CloudFile/src') diff --git a/protocols/CloudFile/src/http_request.h b/protocols/CloudFile/src/http_request.h index c74b2ae40c..f63102f1cc 100644 --- a/protocols/CloudFile/src/http_request.h +++ b/protocols/CloudFile/src/http_request.h @@ -64,11 +64,7 @@ protected: length = mir_strlen(ePair) + 7; char *value = (char*)mir_calloc(length + 1); - mir_snprintf( - value, - length, - "Basic %s", - ePair); + mir_snprintf(value, length, "Basic %s", ePair.get()); headers = (NETLIBHTTPHEADER*)mir_realloc(headers, sizeof(NETLIBHTTPHEADER)*(headersCount + 1)); headers[headersCount].szName = mir_strdup("Authorization"); -- cgit v1.2.3