[34288] trunk/base/src/pextlib1.0/curl.c
raimue at macports.org
raimue at macports.org
Wed Feb 20 19:37:44 PST 2008
Revision: 34288
http://trac.macosforge.org/projects/macports/changeset/34288
Author: raimue at macports.org
Date: 2008-02-20 19:37:44 -0800 (Wed, 20 Feb 2008)
Log Message:
-----------
pextlib1.0/curl.c:
Add missing break statements in order to actually return an error if fopen()
failed
Modified Paths:
--------------
trunk/base/src/pextlib1.0/curl.c
Modified: trunk/base/src/pextlib1.0/curl.c
===================================================================
--- trunk/base/src/pextlib1.0/curl.c 2008-02-21 02:10:59 UTC (rev 34287)
+++ trunk/base/src/pextlib1.0/curl.c 2008-02-21 03:37:44 UTC (rev 34288)
@@ -249,6 +249,7 @@
if (theFile == NULL) {
Tcl_SetResult(interp, strerror(errno), TCL_VOLATILE);
theResult = TCL_ERROR;
+ break;
}
/* Create the CURL handle */
@@ -459,6 +460,7 @@
if (theFile == NULL) {
Tcl_SetResult(interp, strerror(errno), TCL_VOLATILE);
theResult = TCL_ERROR;
+ break;
}
/* Create the CURL handle */
@@ -631,6 +633,7 @@
if (theFile == NULL) {
Tcl_SetResult(interp, strerror(errno), TCL_VOLATILE);
theResult = TCL_ERROR;
+ break;
}
/* Create the CURL handle */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080220/38b3fd40/attachment.html
More information about the macports-changes
mailing list