SF.net SVN: morphix: [2483] trunk/mmaker

[email protected] Sat, 07 Apr 2007 18:20:40 -0700
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2483
          http://svn.sourceforge.net/morphix/?rev=2483&view=rev
Author:   bmsleight
Date:     2007-04-07 18:20:40 -0700 (Sat, 07 Apr 2007)

Log Message:
-----------
changing r->from to r->to, silly boy.

Modified Paths:
--------------
    trunk/mmaker/debian/changelog
    trunk/mmaker/libmorphix/makemodule.c

Modified: trunk/mmaker/debian/changelog
===================================================================
--- trunk/mmaker/debian/changelog	2007-04-07 23:11:59 UTC (rev 2482)
+++ trunk/mmaker/debian/changelog	2007-04-08 01:20:40 UTC (rev 2483)
@@ -1,3 +1,9 @@
+morphix-mmaker (0.4-40) unstable; urgency=low
+
+  * bump - beacuse bmsleight is silly
+
+ -- bmsleight <[email protected]>  Sun, 08 Apr 2007 02:20:00 +0100
+
 morphix-mmaker (0.4-39) unstable; urgency=low
 
   * bmsleight's makemodule improvement (retrieve-to-directory patch)

Modified: trunk/mmaker/libmorphix/makemodule.c
===================================================================
--- trunk/mmaker/libmorphix/makemodule.c	2007-04-07 23:11:59 UTC (rev 2482)
+++ trunk/mmaker/libmorphix/makemodule.c	2007-04-08 01:20:40 UTC (rev 2483)
@@ -550,11 +550,11 @@
 			gchar *http_s = "http://";
 
 			if (strncmp(r->from,http_s,strlen(http_s)) == 0) {
-			  // If the last charactor of r->from is a / then we need wget -P else wget -O
+			  // If the last charactor of _r->to_ is a / then we need wget -P else wget -O
 				char * pch;
 				char  wgetopt;	
-				pch=strrchr(r->from,'/');
-				if (pch-r->from == strlen(r->from)-1) {
+				pch=strrchr(r->to,'/');
+				if (pch-r->to == strlen(r->to)-1) {
 					wgetopt='P';
 				}
 				else {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV