Browse Source

Fixed a couple of wrong flags

thareh 2 years ago
parent
commit
ff306b1f63
1 changed files with 2 additions and 2 deletions
  1. 2 2
      libcurl.mod/curlmain.bmx

+ 2 - 2
libcurl.mod/curlmain.bmx

@@ -999,7 +999,7 @@ Type TCurlInfo
 	Method httpConnectCode:Int()
 	Method httpConnectCode:Int()
 		Local value:Int
 		Local value:Int
 		
 		
-		error = bmx_curl_easy_getinfo_int(easyHandlePtr, CURLINFO_FILETIME, Varptr value)
+		error = bmx_curl_easy_getinfo_int(easyHandlePtr, CURLINFO_HTTP_CONNECTCODE, Varptr value)
 		
 		
 		Return value
 		Return value
 	End Method
 	End Method
@@ -1014,7 +1014,7 @@ Type TCurlInfo
 	Method FileTime:Int()
 	Method FileTime:Int()
 		Local value:Int
 		Local value:Int
 		
 		
-		error = bmx_curl_easy_getinfo_int(easyHandlePtr, CURLINFO_HTTPAUTH_AVAIL, Varptr value)
+		error = bmx_curl_easy_getinfo_int(easyHandlePtr, CURLINFO_FILETIME, Varptr value)
 		
 		
 		Return value
 		Return value
 	End Method
 	End Method