mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:53:46 +03:00
ftp/imap/pop3/smtp: Fixed compilation warning when /Wall enabled
warning C4706: assignment within conditional expression
This commit is contained in:
parent
4ff2fbd1d5
commit
c142e73142
5 changed files with 18 additions and 14 deletions
|
|
@ -155,8 +155,9 @@ static CURLcode ftp_dophase_done(struct connectdata *conn,
|
|||
bool connected);
|
||||
|
||||
/* easy-to-use macro: */
|
||||
#define PPSENDF(x,y,z) if((result = Curl_pp_sendf(x,y,z))) \
|
||||
return result
|
||||
#define PPSENDF(x,y,z) result = Curl_pp_sendf(x,y,z); \
|
||||
if(result) \
|
||||
return result
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue