From 3ef4c5f0f536d463cc69a66f9688f86449764c49 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 1 Nov 2009 18:21:03 +0000 Subject: [PATCH] 2009-11-01 19:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbcurl/hbcurl.c ! hb -> HB_. --- harbour/ChangeLog | 4 ++++ harbour/contrib/hbcurl/hbcurl.c | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 2e79999162..24028adf0e 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-11-01 19:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbcurl/hbcurl.c + ! hb -> HB_. + 2009-11-01 19:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/hbsocket.c ! hb -> HB_. diff --git a/harbour/contrib/hbcurl/hbcurl.c b/harbour/contrib/hbcurl/hbcurl.c index 039a0b4629..e71cab5867 100644 --- a/harbour/contrib/hbcurl/hbcurl.c +++ b/harbour/contrib/hbcurl/hbcurl.c @@ -343,7 +343,7 @@ static int hb_curl_progress_callback( void * Cargo, double dltotal, double dlnow PHB_ITEM p1 = hb_itemPutND( NULL, ulnow > 0 ? ulnow : dlnow ); PHB_ITEM p2 = hb_itemPutND( NULL, ultotal > 0 ? ultotal : dltotal ); - hbBool bResult = hb_itemGetL( hb_vmEvalBlockV( ( PHB_ITEM ) Cargo, 2, p1, p2 ) ); + HB_BOOL bResult = hb_itemGetL( hb_vmEvalBlockV( ( PHB_ITEM ) Cargo, 2, p1, p2 ) ); hb_itemRelease( p1 ); hb_itemRelease( p2 ); @@ -431,7 +431,7 @@ static void hb_curl_buff_dl_free( PHB_CURL hb_curl ) /* ---------------------------------------------------------------------------- */ /* Constructor/Destructor */ -static void PHB_CURL_free( PHB_CURL hb_curl, hbBool bFree ) +static void PHB_CURL_free( PHB_CURL hb_curl, HB_BOOL bFree ) { curl_easy_setopt( hb_curl->curl, CURLOPT_READFUNCTION, NULL ); curl_easy_setopt( hb_curl->curl, CURLOPT_READDATA, NULL ); @@ -517,7 +517,7 @@ static HB_GARBAGE_FUNC( PHB_CURL_release ) * hb_curl_ptr = NULL; /* Destroy the object */ - PHB_CURL_free( hb_curl, hbTRUE ); + PHB_CURL_free( hb_curl, HB_TRUE ); } } @@ -592,7 +592,7 @@ HB_FUNC( CURL_EASY_CLEANUP ) * ph = NULL; /* Destroy the object */ - PHB_CURL_free( hb_curl, hbTRUE ); + PHB_CURL_free( hb_curl, HB_TRUE ); } } else @@ -608,7 +608,7 @@ HB_FUNC( CURL_EASY_RESET ) PHB_CURL hb_curl = PHB_CURL_par( 1 ); if( hb_curl ) - PHB_CURL_free( hb_curl, hbFALSE ); + PHB_CURL_free( hb_curl, HB_FALSE ); } else hb_errRT_BASE( EG_ARG, 2010, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );