Update of /cvsroot/openvrml/openvrml
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8690
Modified Files:
Tag: OpenVRML-0_16-BRANCH
ChangeLog
Log Message:
Use GLib-style return-if-fail macros for most of libcurl error handling.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/openvrml/openvrml/ChangeLog,v
retrieving revision 1.1310.2.136
retrieving revision 1.1310.2.137
diff -C2 -d -r1.1310.2.136 -r1.1310.2.137
*** ChangeLog 12 Mar 2007 14:43:39 -0000 1.1310.2.136
--- ChangeLog 13 Mar 2007 04:26:07 -0000 1.1310.2.137
***************
*** 1,2 ****
--- 1,22 ----
+ 2007-03-13 Braden McDaniel <br...@en...>
+
+ Use GLib-style return-if-fail macros for most of libcurl error
+ handling.
+
+ * src/openvrml-player/player.cpp
+ (OPENVRML_PLAYER_CURL_EASY_RETURN_VAL_IF_ERROR): Added macro.
+ (OPENVRML_PLAYER_CURL_MULTI_RETURN_IF_ERROR): Added macro.
+ (OPENVRML_PLAYER_CULR_MULTI_RETURN_VAL_IF_ERROR): Added macro.
+ (reset_fds(CURLSource &)): Check result of curl_multi_fdset with
+ OPENVRML_PLAYER_CURL_MULTI_RETURN_IF_ERROR.
+ (openvrml_player_curl_source_callback(gpointer)): Check result of
+ curl_multi_remove_handle with
+ OPENVRML_PLAYER_CURL_MULTI_RETURN_VAL_IF_ERROR.
+ (openvrml_player_request_data_available(GIOChannel *,
+ GIOCondition, gpointer)): Check result of curl_easy_setopt with
+ OPENVRML_PLAYER_CURL_EASY_RETURN_VAL_IF_ERROR; check result of
+ curl_multi_add_handle with
+ OPENVRML_PLAYER_CURL_MULTI_RETURN_VAL_IF_ERROR.
+
2007-03-12 Braden McDaniel <br...@en...>
|