[58835] trunk/base/src/pextlib1.0/curl.c

toby at macports.org toby at macports.org
Mon Oct 5 22:15:25 PDT 2009


Revision: 58835
          http://trac.macports.org/changeset/58835
Author:   toby at macports.org
Date:     2009-10-05 22:15:24 -0700 (Mon, 05 Oct 2009)
Log Message:
-----------
fix a comment, misc whitespace

Modified Paths:
--------------
    trunk/base/src/pextlib1.0/curl.c

Modified: trunk/base/src/pextlib1.0/curl.c
===================================================================
--- trunk/base/src/pextlib1.0/curl.c	2009-10-06 05:05:42 UTC (rev 58834)
+++ trunk/base/src/pextlib1.0/curl.c	2009-10-06 05:15:24 UTC (rev 58835)
@@ -842,31 +842,25 @@
 				0,
 				(int*) &theOptionIndex);
 	if (theResult == TCL_OK) {
-		switch (theOptionIndex)
-		{
-			case kCurlFetch:
-				theResult = CurlFetchCmd(interp, objc, objv);
-				break;
-
-			case kCurlIsNewer:
-				theResult = CurlIsNewerCmd(interp, objc, objv);
-				break;
-
-			case kCurlGetSize:
-				theResult = CurlGetSizeCmd(interp, objc, objv);
-				break;
+		switch (theOptionIndex) {
+		case kCurlFetch:
+			theResult = CurlFetchCmd(interp, objc, objv);
+			break;
+		case kCurlIsNewer:
+			theResult = CurlIsNewerCmd(interp, objc, objv);
+			break;
+		case kCurlGetSize:
+			theResult = CurlGetSizeCmd(interp, objc, objv);
+			break;
 		}
 	}
-	
+
 	return theResult;
 }
 
 /**
  * curl init entry point.
- *
  * libcurl will never be cleaned (where should I plug the hook?)
- *
- * @param interp		current interpreter
  */
 void
 CurlInit()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091005/76efac07/attachment.html>


More information about the macports-changes mailing list