Be sure to set the Result /= 0 (i.e ECURLE_OK) when error occurred.

git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@87340 8089f293-4706-0410-a29e-feb5c42a2edf
This commit is contained in:
jfiat
2011-09-27 08:06:20 +00:00
parent 8034123683
commit 19637b616b
2 changed files with 7 additions and 2 deletions

View File

@@ -11,6 +11,11 @@ note
class
CURL_CODES
feature -- Eiffel cURL: Constants
eiffelcurle_error_occurred: INTEGER = -1
-- Error occurred in Eiffel cURL internals
feature -- Constants
curle_ok: INTEGER = 0