[core-dev] Re: CVS update: MODIFIED: browser ...

Gregorio Roper <[email protected]> Mon, 21 Jun 2004 18:07:58 +0200
Newsgroups gmane.network.gnutella.limewire.core.devel
Message-ID <[email protected]>
I think LimeWire is able to handle "urn:bitprint"-type URNs as well.

mfg
gregorio

[email protected] wrote:
>   User: zlatinb 
>   Date: 04/06/21 11:47:03
> 
>   Modified:    com/limegroup/gnutella/browser ExternalControl.java
>   Log:
>   the fix for the kzhash magnets
>   
>   Revision  Changes    Path
>   1.24      +2 -1      core/com/limegroup/gnutella/browser/ExternalControl.java
>   
>   (In the diff below, changes in quantity of whitespace are not shown.)
>   
>   Index: ExternalControl.java
>   ===================================================================
>   RCS file: /cvs/core/com/limegroup/gnutella/browser/ExternalControl.java,v
>   retrieving revision 1.23
>   retrieving revision 1.24
>   diff -u -b -r1.23 -r1.24
>   --- ExternalControl.java	10 Mar 2004 21:37:13 -0000	1.23
>   +++ ExternalControl.java	21 Jun 2004 15:47:03 -0000	1.24
>   @@ -363,7 +363,8 @@
>    			if (curOptions == null) 
>    				curOptions = new MagnetOptions();
>    
>   -			if ( keystr.startsWith("xt") ) {
>   +			if ( keystr.startsWith("xt") &&
>   ++                                       cmdstr.indexOf("urn:sha1:")!=-1) {
>    				curOptions.xt = cmdstr;
>    			} else if ( keystr.startsWith("dn") ) {
>    				curOptions.dn = cmdstr;
>   
>   
>   
> _______________________________________________
> core-cvs mailing list
> [email protected]
> http://www.limewire.org/mailman/listinfo/core-cvs
> 
> 
_______________________________________________
core-dev mailing list
[email protected]
http://www.limewire.org/mailman/listinfo/core-dev