2008-06-04 00:32 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

* contrib/hbcurl/hbcurl.c
     * CURL_GETDATE(): using hb_retnint().
This commit is contained in:
Viktor Szakats
2008-06-03 22:35:19 +00:00
parent c035748774
commit 467fe825da
2 changed files with 5 additions and 5 deletions

View File

@@ -8,6 +8,10 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-06-04 00:32 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
* CURL_GETDATE(): using hb_retnint().
2008-06-03 22:24 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
! Fixed macros used in *_LARGE setopt options.

View File

@@ -1488,9 +1488,5 @@ HB_FUNC( CURL_MULTI_STRERROR )
/* NOTE: This returns the number of seconds since January 1st 1970 in the UTC time zone. */
HB_FUNC( CURL_GETDATE )
{
#ifdef HB_LONG_LONG_OFF
hb_retnd( ( double ) curl_getdate( hb_parcx( 1 ), NULL ) );
#else
hb_retnll( curl_getdate( hb_parcx( 1 ), NULL ) );
#endif
hb_retnint( ( HB_LONG ) curl_getdate( hb_parcx( 1 ), NULL ) );
}