[sword-cvs] sword/include url.h,1.7,1.8

sword at www.crosswire.org sword at www.crosswire.org
Tue Jul 20 15:48:35 MST 2004


Committed by: scribe

Update of /cvs/core/sword/include
In directory www:/tmp/cvs-serv1141/include

Modified Files:
	url.h 
Log Message:
change encode/decode to return temporaries.


Index: url.h
===================================================================
RCS file: /cvs/core/sword/include/url.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- url.h	20 Jul 2004 19:06:41 -0000	1.7
+++ url.h	20 Jul 2004 22:48:33 -0000	1.8
@@ -72,8 +72,8 @@
 	*
 	* WARNING: It doesn't check if the URL is encoded already, so http://www.crosswire.org/test.jsp?force=1&help=1 becomes http://www.crosswire.org/test.jsp?force=1&help=1
 	*/
-	static const char *encode(const char *urlText);	
-	static const char *decode(const char *encodedText);
+	static const SWBuf encode(const char *urlText);	
+	static const SWBuf decode(const char *encodedText);
 	
 private:
 	/** Parse



More information about the sword-cvs mailing list