diff options
Diffstat (limited to 'protocols/CloudFile/src/http_request.h')
-rw-r--r-- | protocols/CloudFile/src/http_request.h | 6 |
1 files changed, 1 insertions, 5 deletions
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"); |