Author: poeml Date: Sat Sep 25 04:17:05 2010 New Revision: 8158 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8158&view=rev Log: mod_mirrorbrain: - The torrent generator did not obey to ordering with regard to the "sources" and "url-list" keys. Fixing issue #74 and partly fixing issue #78. Modified: trunk/mod_mirrorbrain/mod_mirrorbrain.c Modified: trunk/mod_mirrorbrain/mod_mirrorbrain.c URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mod_mirrorbrain/mod_mirrorbrain.c?rev=8158&r1=8157&r2=8158&view=diff ============================================================================== --- trunk/mod_mirrorbrain/mod_mirrorbrain.c (original) +++ trunk/mod_mirrorbrain/mod_mirrorbrain.c Sat Sep 25 04:17:05 2010 _at_@ -2935,12 +2935,12 @@ #endif if (!apr_is_empty_array(m)) { - ap_rputs( "8:url-listl", r); + ap_rputs( "7:sourcesl", r); for (i = 0; i < m->nelts; i++) { char *e = ((char **) m->elts)[i]; ap_rputs(e, r); } - ap_rputs( "e7:sourcesl", r); + ap_rputs( "e8:url-listl", r); for (i = 0; i < m->nelts; i++) { char *e = ((char **) m->elts)[i]; ap_rputs(e, r); _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Sat Sep 25 2010 - 02:17:07 GMT
This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT