From 44fb7e9e5fb9db8ef1876c32a2a6e296c9215c3e Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sun, 19 Jan 2014 20:12:04 +0000 Subject: more translation fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@7771 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/tools.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'protocols/Xfire/src/tools.cpp') diff --git a/protocols/Xfire/src/tools.cpp b/protocols/Xfire/src/tools.cpp index da6730ca8d..1d0cd55127 100644 --- a/protocols/Xfire/src/tools.cpp +++ b/protocols/Xfire/src/tools.cpp @@ -896,13 +896,13 @@ BOOL CheckWWWContent(char*address) { Netlib_Logf(hNetlib,"Check Url %s ...",address); //netlib request - NETLIBHTTPREQUEST nlhr={0},*nlhrReply; + NETLIBHTTPREQUEST nlhr={0}; nlhr.cbSize = sizeof(nlhr); nlhr.requestType= REQUEST_HEAD; nlhr.flags = NLHRF_NODUMP|NLHRF_GENERATEHOST|NLHRF_SMARTAUTHHEADER; nlhr.szUrl = address; - nlhrReply=(NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION,(WPARAM)hNetlib,(LPARAM)&nlhr); + NETLIBHTTPREQUEST *nlhrReply=(NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION,(WPARAM)hNetlib,(LPARAM)&nlhr); if (nlhrReply) { //nicht auf dem server @@ -932,13 +932,13 @@ BOOL GetWWWContent2(char*address,char*filename,BOOL dontoverwrite,char**tobuf,un Netlib_Logf(hNetlib,"Download Url %s ...",address); //netlib request - NETLIBHTTPREQUEST nlhr={0},*nlhrReply; + NETLIBHTTPREQUEST nlhr={0}; nlhr.cbSize = sizeof(nlhr); nlhr.requestType= REQUEST_GET; nlhr.flags = NLHRF_NODUMP|NLHRF_GENERATEHOST|NLHRF_SMARTAUTHHEADER; nlhr.szUrl = address; - nlhrReply=(NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION,(WPARAM)hNetlib,(LPARAM)&nlhr); + NETLIBHTTPREQUEST *nlhrReply=(NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION,(WPARAM)hNetlib,(LPARAM)&nlhr); if (nlhrReply) { //nicht auf dem server @@ -1002,8 +1002,7 @@ BOOL GetWWWContent(char*host,char* request,char*filename,BOOL dontoverwrite) { unsigned int getfilesize(char*path) { - FILE * f = NULL; - f=fopen(path,"rb"); + FILE *f=fopen(path,"rb"); if (f==NULL) return 0; fseek (f, 0, SEEK_END); -- cgit v1.2.3