mldonkey-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-commits] mldonkey distrib/ChangeLog src/networks/bittorr...


From: mldonkey-commits
Subject: [Mldonkey-commits] mldonkey distrib/ChangeLog src/networks/bittorr...
Date: Sun, 11 Feb 2007 13:09:41 +0000

CVSROOT:        /sources/mldonkey
Module name:    mldonkey
Changes by:     spiralvoice <spiralvoice>       07/02/11 13:09:41

Modified files:
        distrib        : ChangeLog 
        src/networks/bittorrent: bTTorrent.ml 

Log message:
        patch #5735

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/mldonkey/distrib/ChangeLog?cvsroot=mldonkey&r1=1.1175&r2=1.1176
http://cvs.savannah.gnu.org/viewcvs/mldonkey/src/networks/bittorrent/bTTorrent.ml?cvsroot=mldonkey&r1=1.11&r2=1.12

Patches:
Index: distrib/ChangeLog
===================================================================
RCS file: /sources/mldonkey/mldonkey/distrib/ChangeLog,v
retrieving revision 1.1175
retrieving revision 1.1176
diff -u -b -r1.1175 -r1.1176
--- distrib/ChangeLog   11 Feb 2007 13:07:47 -0000      1.1175
+++ distrib/ChangeLog   11 Feb 2007 13:09:41 -0000      1.1176
@@ -15,6 +15,8 @@
 =========
 
 2007/02/11
+5735: BT: Fix make_torrents to sort dictionary entries alphabetically
+      Bittornado did not read MLDonkey-made torrents (amadeo)
 5737: MinGW: Work-around missing Unix.fstat
 - fixes failed removal of torrent files from torrents/[incoming|downloads]
 

Index: src/networks/bittorrent/bTTorrent.ml
===================================================================
RCS file: /sources/mldonkey/mldonkey/src/networks/bittorrent/bTTorrent.ml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- src/networks/bittorrent/bTTorrent.ml        9 Jan 2006 00:25:58 -0000       
1.11
+++ src/networks/bittorrent/bTTorrent.ml        11 Feb 2007 13:09:41 -0000      
1.12
@@ -326,9 +326,9 @@
 
   let encode_file (filename, size) =
     Dictionary [
+      String "length", Int size;
       String "path", List (List.map
           (fun s -> String s)(Filepath.string_to_path '/' filename));
-      String "length", Int size;
     ]
   in
 
@@ -357,11 +357,11 @@
   file_id,
   Dictionary [
     String "announce", String torrent.torrent_announce;
-    String "info", info;
     String "comment", String torrent.torrent_comment;
     String "created by", String torrent.torrent_created_by;
     String "creation date", Int torrent.torrent_creation_date;
     String "encoding", String torrent.torrent_encoding;
+    String "info", info;
     String "modified-by", String torrent.torrent_modified_by;
 (*
     String "nodes", String torrent.torrent_nodes;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]