-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
115a785
commit 04b17ee
Showing
4 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
!** libcurl for Clarion v1.30 | ||
!** 18.08.2018 | ||
!** libcurl for Clarion v1.33 | ||
!** 26.08.2018 | ||
!** [email protected] | ||
|
||
MEMBER | ||
|
@@ -1223,6 +1223,27 @@ res CURLcode, AUTO | |
END | ||
|
||
RETURN CURLE_OK | ||
|
||
TCurlClass.SetPostFields PROCEDURE(*IDynStr pPostFields) | ||
res CURLcode, AUTO | ||
CODE | ||
IF NOT pPostFields &= NULL | ||
IF pPostFields.StrLen() > 0 | ||
res = SELF.SetOpt(CURLOPT_POSTFIELDS, pPostFields.CStrRef()) | ||
IF res <> CURLE_OK | ||
RETURN res | ||
END | ||
|
||
res = SELF.SetOpt(CURLOPT_POSTFIELDSIZE, pPostFields.StrLen()) | ||
IF res <> CURLE_OK | ||
RETURN res | ||
END | ||
END | ||
ELSE | ||
curl::DebugInfo('SetPostFields: NULL reference passed') | ||
END | ||
|
||
RETURN CURLE_OK | ||
|
||
!!!endregion | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
!** libcurl for Clarion v1.33 | ||
!** 25.08.2018 | ||
!** 26.08.2018 | ||
!** [email protected] | ||
|
||
INCLUDE('DynStr.inc'), ONCE | ||
|
@@ -893,6 +893,7 @@ PostQuote PROCEDURE(TCurlSList plist), CURLcode, PROC !cal | |
SetDefaultProtocol PROCEDURE(STRING pSchema), CURLcode, PROC | ||
SetPostFields PROCEDURE(STRING pPostFields), CURLcode, PROC | ||
SetPostFields PROCEDURE(*IDynStr pPostFields), CURLcode, PROC | ||
END | ||
!---------------------------- TCurlFtpClass -----------------------------! | ||
|