]> granicus.if.org Git - transmission/commitdiff
(trunk) Join the 21st century and use only 1 space at the end sentences. This commit...
authorCharles Kerr <charles@transmissionbt.com>
Mon, 27 Dec 2010 19:18:17 +0000 (19:18 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Mon, 27 Dec 2010 19:18:17 +0000 (19:18 +0000)
130 files changed:
daemon/daemon.c
daemon/remote.c
daemon/watch.h
gtk/actions.c
gtk/actions.h
gtk/add-dialog.c
gtk/add-dialog.h
gtk/details.c
gtk/details.h
gtk/favicon.c
gtk/favicon.h
gtk/file-list.c
gtk/file-list.h
gtk/filter.c
gtk/filter.h
gtk/hig.c
gtk/hig.h
gtk/main.c
gtk/makemeta-ui.c
gtk/makemeta-ui.h
gtk/msgwin.c
gtk/msgwin.h
gtk/notify.c
gtk/notify.h
gtk/relocate.c
gtk/relocate.h
gtk/stats.c
gtk/stats.h
gtk/torrent-cell-renderer.c
gtk/torrent-cell-renderer.h
gtk/tr-icon.c
gtk/tr-icon.h
gtk/tr-prefs.c
gtk/tr-prefs.h
gtk/tr-window.c
gtk/transmission-gtk.1
gtk/util.c
gtk/util.h
libtransmission/ConvertUTF.c
libtransmission/ConvertUTF.h
libtransmission/JSON_parser.h
libtransmission/announcer.c
libtransmission/announcer.h
libtransmission/bandwidth.c
libtransmission/bandwidth.h
libtransmission/bencode.c
libtransmission/bencode.h
libtransmission/bitfield.c
libtransmission/bitfield.h
libtransmission/bitset.h
libtransmission/blocklist.c
libtransmission/blocklist.h
libtransmission/cache.c
libtransmission/cache.h
libtransmission/clients.c
libtransmission/clients.h
libtransmission/completion.c
libtransmission/completion.h
libtransmission/crypto.c
libtransmission/crypto.h
libtransmission/fdlimit.c
libtransmission/fdlimit.h
libtransmission/handshake.c
libtransmission/handshake.h
libtransmission/history.c
libtransmission/history.h
libtransmission/inout.c
libtransmission/inout.h
libtransmission/json.c
libtransmission/json.h
libtransmission/list.c
libtransmission/list.h
libtransmission/magnet.c
libtransmission/magnet.h
libtransmission/makemeta.c
libtransmission/makemeta.h
libtransmission/metainfo.c
libtransmission/metainfo.h
libtransmission/natpmp.c
libtransmission/natpmp.h
libtransmission/net.c
libtransmission/peer-common.h
libtransmission/peer-io.c
libtransmission/peer-io.h
libtransmission/peer-mgr.c
libtransmission/peer-mgr.h
libtransmission/peer-msgs.c
libtransmission/peer-msgs.h
libtransmission/platform.c
libtransmission/platform.h
libtransmission/port-forwarding.c
libtransmission/port-forwarding.h
libtransmission/ptrarray.c
libtransmission/ptrarray.h
libtransmission/resume.c
libtransmission/resume.h
libtransmission/rpc-server.c
libtransmission/rpc-server.h
libtransmission/rpcimpl.c
libtransmission/rpcimpl.h
libtransmission/session.c
libtransmission/session.h
libtransmission/stats.c
libtransmission/stats.h
libtransmission/torrent-ctor.c
libtransmission/torrent-magnet.c
libtransmission/torrent-magnet.h
libtransmission/torrent.c
libtransmission/torrent.h
libtransmission/tr-dht.c
libtransmission/tr-dht.h
libtransmission/tr-getopt.c
libtransmission/tr-getopt.h
libtransmission/tr-lpd.c
libtransmission/tr-lpd.h
libtransmission/transmission.h
libtransmission/trevent.c
libtransmission/trevent.h
libtransmission/upnp.c
libtransmission/upnp.h
libtransmission/utils-test.c
libtransmission/utils.c
libtransmission/utils.h
libtransmission/verify.c
libtransmission/verify.h
libtransmission/web.c
libtransmission/web.h
libtransmission/webseed.c
libtransmission/webseed.h
libtransmission/wildmat.c

index d7467ffb2bd995488a656a8d12b6e6ad012e3e56..01c4f1520711493128900b1acff23e8178d8259f 100644 (file)
@@ -86,7 +86,7 @@ getUsage( void )
 static const struct tr_option options[] =
 {
 
-    { 'a', "allowed", "Allowed IP addresses.  (Default: " TR_DEFAULT_RPC_WHITELIST ")", "a", 1, "<list>" },
+    { 'a', "allowed", "Allowed IP addresses. (Default: " TR_DEFAULT_RPC_WHITELIST ")", "a", 1, "<list>" },
     { 'b', "blocklist", "Enable peer blocklists", "b", 0, NULL },
     { 'B', "no-blocklist", "Disable peer blocklists", "B", 0, NULL },
     { 'c', "watch-dir", "Where to watch for new .torrent files", "c", 1, "<directory>" },
index bc440052253ccea10f62310ec6a85ef1ff7d9cda..195992a4018e854947bf13f21033d36313e5fae2 100644 (file)
@@ -297,7 +297,7 @@ static tr_option opts[] =
     { 'U', "no-uplimit",             "Disable max upload speed for the current torrent(s) or globally", "U", 0, NULL },
     { 'v', "verify",                 "Verify the current torrent(s)", "v",  0, NULL },
     { 'V', "version",                "Show version number and exit", "V", 0, NULL },
-    { 'w', "download-dir",           "When adding a new torrent, set its download folder.  Otherwise, set the default download folder", "w",  1, "<path>" },
+    { 'w', "download-dir",           "When adding a new torrent, set its download folder. Otherwise, set the default download folder", "w",  1, "<path>" },
     { 'x', "pex",                    "Enable peer exchange (PEX)", "x",  0, NULL },
     { 'X', "no-pex",                 "Disable peer exchange (PEX)", "X",  0, NULL },
     { 'y', "lpd",                    "Enable local peer discovery (LPD)", "y",  0, NULL },
@@ -1732,9 +1732,9 @@ flush( const char * rpcurl, tr_benc ** benc )
                 status |= processResponse( rpcurl, (const char*) evbuffer_pullup( buf, -1 ), evbuffer_get_length( buf ) );
                 break;
             case 409:
-                /* session id failed.  our curl header func has already
-                * pulled the new session id from this response's headers,
-                * build a new CURL* and try again */
+                /* Session id failed. Our curl header func has already
+                 * pulled the new session id from this response's headers,
+                 * build a new CURL* and try again */
                 curl_easy_cleanup( curl );
                 curl = NULL;
                 flush( rpcurl, benc );
index cc74000c20a9c53bda4e1c4b9b5b17ce8efc9e0f..949bb6dc39dceee5e0f493a98fbc96099470b263 100644 (file)
@@ -4,7 +4,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index f2a8571bed1701543e1f497919ea5dc248e2a309..3333542cfd6f90cb2a0b3b3afc43eea448d16994 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 88782966f3d87000583bca9bbd452ef21b872ecc..d7f7f33de80e8603edf4fd9d150e06e65b19eb87 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 4d5756d2e270af2bd8cc31d09965c26b548d4c39..b6aaf954194ed2db37139c8da090f24026b3d6be 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index d660496c0eded3a6fcb18020a55a270cac7157a6..61c7678db59f520942bc1c5fc3e4263a6c526736 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 75d0693c80b8ec637272d17af67cda324a15a426..c78d67de758e3ac32de61fb0a7a58704ca778395 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 90b5b905fca07c20e4fb8eb237ca08d1dce50fb2..3c177eeced65a0a803b62d3106cda25e406724af 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 4d5f2663b4077e5ab5b46b8e34dcfa18226dc5e7..ed9c4b9a412c74bd1d1be0f8070bbada5d8adc0d 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 2ccebdb0ed0180cb6c850a29475c01df5b520d64..eff52e85ea0bd96e192c6c1053040725eb5361ea 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index f5d8cf0d30627650f39a1a14f3cc723e2b578142..22ae49248019f9c7ec7a9abb1cdf1d16bc4fed0d 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -126,7 +126,7 @@ refreshFilesForeach( GtkTreeModel * model,
         if( (priority!=old_priority) || (enabled!=old_enabled) || (have!=old_have) || (prog!=old_prog) )
         {
             /* Changing a value in the sort column can trigger a resort
-             * which breaks this foreach() call.  (See #3529)
+             * which breaks this foreach() call. (See #3529)
              * As a workaround: if that's about to happen, temporarily disable
              * sorting until we finish walking the tree. */
             if( !refresh_data->resort_needed )
index 129d1c744eba627140f25bd98b876492a6cc3fad..eb292935e4552ad966dbc982e0ef2f9ea70d69f5 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index e95014a4b72d21c2b3cee8ccec7ba52d96750b40..73d69752b18d5d2a5b06d83b50639182a065140c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -137,8 +137,8 @@ category_filter_model_update( GtkTreeStore * store )
 
     g_object_steal_data( o, DIRTY_KEY );
 
-    /* walk through all the torrents, tallying how many matches there are
-     * for the various categories.  also make a sorted list of all tracker
+    /* Walk through all the torrents, tallying how many matches there are
+     * for the various categories. Also make a sorted list of all tracker
      * hosts s.t. we can merge it with the existing list */
     if( gtk_tree_model_get_iter_first( tmodel, &iter )) do
     {
index 7912c4831ac1286e8d217f5aa8acebbf1e8e06d6..29b2c5475a31b828fd0b485ce8d2bfb071578461 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 2fcc3b66681f40ba6267ec87974539912355a9ca..d2bf6a411bf09a826f90cfc90b22f3f041e4acb9 100644 (file)
--- a/gtk/hig.c
+++ b/gtk/hig.c
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 71728e35218673c38d997a4ed3500e1d5b0725c5..af2c95df4704bacc0fabde116ac5142698cc2e0e 100644 (file)
--- a/gtk/hig.h
+++ b/gtk/hig.h
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 31542da33d65f596387be9bb243a63c93c225ab6..f459e57ef875f7ce5537c0604a28c08c1a9c0f7e 100644 (file)
@@ -76,7 +76,7 @@ static const char * LICENSE =
 "The OS X client, CLI client, and parts of libtransmission are licensed under the terms of the MIT license.\n\n"
 "The Transmission daemon, GTK+ client, Qt client, Web client, and most of libtransmission are licensed under the terms of the GNU GPL version 2, with two special exceptions:\n\n"
 "1. The MIT-licensed portions of Transmission listed above are exempt from GPLv2 clause 2(b) and may retain their MIT license.\n\n"
-"2. Permission is granted to link the code in this release with the OpenSSL project's 'OpenSSL' library and to distribute the linked executables.  Works derived from Transmission may, at their authors' discretion, keep or delete this exception.";
+"2. Permission is granted to link the code in this release with the OpenSSL project's 'OpenSSL' library and to distribute the linked executables. Works derived from Transmission may, at their authors' discretion, keep or delete this exception.";
 #endif
 
 struct cbdata
@@ -437,7 +437,7 @@ signal_handler( int sig )
     {
         case SIGINT:
         case SIGTERM:
-            g_message( _( "Got signal %d; trying to shut down cleanly.  Do it again if it gets stuck." ), sig );
+            g_message( _( "Got signal %d; trying to shut down cleanly. Do it again if it gets stuck." ), sig );
             gtr_actions_handler( "quit", sighandler_cbdata );
             break;
 
@@ -588,7 +588,7 @@ applyDesktopProxySettings( CURL * easy, GConfClient * client, const char * host_
 
     /* Both libcurl and GNOME have hooks for proxy support.
      * If someone has set the http_proxy environment variable,
-     * don't apply the GNOME settings here.  That way libcurl can override GNOME. */
+     * don't apply the GNOME settings here. That way libcurl can override GNOME. */
     if( !env_checked ) {
         const char * str = g_getenv( "http_proxy" );
         env_set = str && *str;
@@ -807,7 +807,7 @@ main( int argc, char ** argv )
          * so tell it to present its window to the user */
         err = NULL;
         if( !gtr_dbus_present_window( ) )
-            err = g_strdup( _( "Transmission is already running, but is not responding.  To start a new session, you must first close the existing Transmission process." ) );
+            err = g_strdup( _( "Transmission is already running, but is not responding. To start a new session, you must first close the existing Transmission process." ) );
     }
 
     if( didlock && ( didinit || cf_init( configDir, &err ) ) )
@@ -945,7 +945,7 @@ appsetup( TrWindow      * wind,
                                                 GTK_MESSAGE_INFO,
                                                 GTK_BUTTONS_NONE,
                                                 "%s",
-             _( "Transmission is a file-sharing program.  When you run a torrent, its data will be made available to others by means of upload.  You and you alone are fully responsible for exercising proper judgement and abiding by your local laws." ) );
+             _( "Transmission is a file-sharing program. When you run a torrent, its data will be made available to others by means of upload. You and you alone are fully responsible for exercising proper judgement and abiding by your local laws." ) );
         gtk_dialog_add_button( GTK_DIALOG( w ), GTK_STOCK_QUIT, GTK_RESPONSE_REJECT );
         gtk_dialog_add_button( GTK_DIALOG( w ), _( "I _Accept" ), GTK_RESPONSE_ACCEPT );
         gtk_dialog_set_default_response( GTK_DIALOG( w ), GTK_RESPONSE_ACCEPT );
index 046b3a56cf94e18bd08823df292f8e255ed4213f..54767b285b767144f18e88f3212ce5b686aba29d 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 8854a0e7a05fb55a0ee9c06de1b9923236232f7d..c028a50992d695c702e2b12c27e763148188efa7 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index e43d1300e731c28fcd50012282c3938f76e7d491..f20b485700675727ff5528f3f0c182e7b41d178d 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -232,11 +232,11 @@ appendColumn( GtkTreeView * view,
         case COL_SEQUENCE:
             title = _( "Time" ); break;
 
-        /* noun.  column title for a list */
+        /* noun. column title for a list */
         case COL_NAME:
             title = _( "Name" ); break;
 
-        /* noun.  column title for a list */
+        /* noun. column title for a list */
         case COL_MESSAGE:
             title = _( "Message" ); break;
 
index 35487a25a772b88dee4f1af1e86d8b742d028c91..7f4c13c39f5e4d483065a78cb647dad0dc91e507 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 577b4ae395b0936e8edfd98bcd1066b17f47a338..3ac3c6bb011fa3c465559de0131c17b10350a182 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 6cf7543a700fb22d9ba33c1f4fa7249ead971a7e..6a1441d36c1aac1d94391ec298eee3a1c73bf85b 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 4e3d29ee881364270186b7c2f1bef7e7c3463425..406af815d35530bf2bcab2685178eed5a45e916a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index dea3ec7cf897591f3e8112184f13a55487ae1642..b366ecd1d07ea2daae61e8071c320a1496eed8c0 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 527d3a6f22257334eab843800b2b86faf44d4678..1e2c878092e2b5fddb25f96882abf94a3731d20d 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -105,7 +105,7 @@ dialogResponse( GtkDialog * dialog,
     if( response == TR_RESPONSE_RESET )
     {
         const char * primary = _( "Reset your statistics?" );
-        const char * secondary = _( "These statistics are for your information only.  "
+        const char * secondary = _( "These statistics are for your information only. "
                                     "Resetting them doesn't affect the statistics logged by your BitTorrent trackers." );
         const int flags = GTK_DIALOG_DESTROY_WITH_PARENT
                         | GTK_DIALOG_MODAL;
index 1e2c35c012bc3b176ff5dd49a71158ef574df105..0829107198dad2869f28a390e157e027dd437258 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 94ef0064cfe37a353b383e9ed39be848f1870631..fc0d3ae10591ef878318884a7b5e6c0a4f9b0e47 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -332,8 +332,8 @@ struct TorrentCellRendererPrivate
     GtkCellRenderer  * icon_renderer;
     int bar_height;
 
-    /* use this instead of tr_stat.pieceUploadSpeed so that the model can
-       control when the speed displays get updated.  this is done to keep
+    /* Use this instead of tr_stat.pieceUploadSpeed so that the model can
+       control when the speed displays get updated. This is done to keep
        the individual torrents' speeds and the status bar's overall speed
        in sync even if they refresh at slightly different times */
     double upload_speed_KBps;
index 5836eadc25f9596a5b35bc7275a392705846f8e3..f6dcef5b7a4cf45c04546339be543881549c515b 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 943c73d162f2f8defb0cb011e4317a9fb17d4265..6eac543aa91549d47e9a080bf35a912974ac8cd6 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index d247dbaafa38d188533dd5b1bf3c516d1fecf40e..afa1f946640d86a923c03892619a38556f4202f2 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 1543ba052471cb6f6f38917fbde5f6f478a74c6a..1b7a3d8d01687a9411ed462e3077b212c8190fe4 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 108cb2513ef9eef67294c724cbede26d73ad8eda..724b0a6234f22bbd0c5f55fb1e87592c6ad75f87 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 289834dc8e1db5de004cae05f6e052c6b49cd9cc..bcb48a630672a720a1b493c0857cc5e3016b8f01 100644 (file)
@@ -175,7 +175,7 @@ prefsChanged( TrCore * core UNUSED,
     {
         g_object_set( p->renderer, "compact", gtr_pref_flag_get( key ), NULL );
         /* since the cell size has changed, we need gtktreeview to revalidate
-         * its fixed-height mode values.  Unfortunately there's not an API call
+         * its fixed-height mode values. Unfortunately there's not an API call
          * for that, but it *does* revalidate when it thinks the style's been tweaked */
         g_signal_emit_by_name( p->view, "style-set", NULL, NULL );
     }
@@ -784,7 +784,7 @@ updateStats( PrivateData * p )
         tr_sessionGetStats( session, &stats );
         tr_strlsize( up, stats.uploadedBytes, sizeof( up ) );
         tr_strlsize( down, stats.downloadedBytes, sizeof( down ) );
-        /* Translators: "size|" is here for disambiguation.  Please remove it from your translation.
+        /* Translators: "size|" is here for disambiguation. Please remove it from your translation.
            %1$s is the size of the data we've downloaded
            %2$s is the size of the data we've uploaded */
         g_snprintf( buf, sizeof( buf ), Q_(
@@ -795,7 +795,7 @@ updateStats( PrivateData * p )
         tr_sessionGetCumulativeStats( session, &stats );
         tr_strlsize( up, stats.uploadedBytes, sizeof( up ) );
         tr_strlsize( down, stats.downloadedBytes, sizeof( down ) );
-        /* Translators: "size|" is here for disambiguation.  Please remove it from your translation.
+        /* Translators: "size|" is here for disambiguation. Please remove it from your translation.
            %1$s is the size of the data we've downloaded
            %2$s is the size of the data we've uploaded */
         g_snprintf( buf, sizeof( buf ), Q_(
index e85ca30cef9a6d17588c3430711e889ff446403c..9559a38ac9d2f5daca061cdb346a1973b9c14c2a 100644 (file)
@@ -62,7 +62,7 @@ is already running, the torrents will be added to the running instance.
 .It Ev TRANSMISSION_HOME
 Sets the default config-dir.
 .It Ev http_proxy
-libcurl uses this environment variable when performing tracker announces.  If set, this overrides the GNOME proxy preferences.
+libcurl uses this environment variable when performing tracker announces. If set, this overrides the GNOME proxy preferences.
 .El
 .Sh FILES
 .Bl -tag -width Ds -compact
index fa188a602bf9bafdb63a5fc23d602b3c97a2b216..8f838e4b6e74da5759acb93f2b6babd31d62b9cd 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -905,7 +905,7 @@ gtr_unrecognized_url_dialog( GtkWidget * parent, const char * url )
     if( gtr_is_magnet_link( url ) && ( strstr( url, xt ) == NULL ) )
     {
         g_string_append_printf( gstr, "\n \n" );
-        g_string_append_printf( gstr, _( "This magnet link appears to be intended for something other than BitTorrent.  BitTorrent magnet links have a section containing \"%s\"." ), xt );
+        g_string_append_printf( gstr, _( "This magnet link appears to be intended for something other than BitTorrent. BitTorrent magnet links have a section containing \"%s\"." ), xt );
     }
 
     gtk_message_dialog_format_secondary_text( GTK_MESSAGE_DIALOG( w ), "%s", gstr->str );
index 33f89dcfe91a4512400d71c59fbbe343649c4db5..03857f89f1275d8fb61de51669ceb3dee30aa077 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 0e8c8569cf7037ae8b1fbdc2215362adcca9647e..23537634945b64d8b60434ba6a16fc8c278fa124 100644 (file)
@@ -193,7 +193,7 @@ static const UTF32 offsetsFromUTF8[6] = { 0x00000000UL, 0x00003080UL, 0x000E2080
 
 /*
  * Once the bits are split out into bytes of UTF-8, this is a mask OR-ed
- * into the first byte, depending on how many bytes follow.  There are
+ * into the first byte, depending on how many bytes follow. There are
  * as many entries in this table as there are UTF-8 sequence types.
  * (I.e., one byte sequence, two byte... etc.). Remember that sequencs
  * for *legal* UTF-8 will be 4 or fewer bytes total.
@@ -289,7 +289,7 @@ ConversionResult ConvertUTF16toUTF8 (
  *  length = trailingBytesForUTF8[*source]+1;
  * and the sequence is illegal right away if there aren't that many bytes
  * available.
- * If presented with a length > 4, this returns false.  The Unicode
+ * If presented with a length > 4, this returns false. The Unicode
  * definition of UTF-8 goes up to 4-byte sequences.
  */
 
@@ -587,7 +587,7 @@ ConversionResult ConvertUTF8toUTF32 (
 
     Note A.
     The fall-through switches in UTF-8 reading code save a
-    temp variable, some decrements & conditionals.  The switches
+    temp variable, some decrements & conditionals. The switches
     are equivalent to the following loop:
        {
            int tmpBytesToRead = extraBytesToRead+1;
index 3fb61650617171f71a381cdec5fe39983edf3a27..59cc9dbb64cf52a14ef0de51fe9dfbb96fa99656 100644 (file)
 
 /* ---------------------------------------------------------------------
 
-    Conversions between UTF32, UTF-16, and UTF-8.  Header file.
+    Conversions between UTF32, UTF-16, and UTF-8. Header file.
 
     Several funtions are included here, forming a complete set of
-    conversions between the three formats.  UTF-7 is not included
+    conversions between the three formats. UTF-7 is not included
     here, but is handled in a separate source file.
 
     Each of these routines takes pointers to input buffers and output
-    buffers.  The input buffers are const.
+    buffers. The input buffers are const.
 
     Each routine converts the text between *sourceStart and sourceEnd,
     putting the result into the buffer between *targetStart and
@@ -61,7 +61,7 @@
 
     These conversion functions take a ConversionFlags argument. When this
     flag is set to strict, both irregular sequences and isolated surrogates
-    will cause an error.  When the flag is set to lenient, both irregular
+    will cause an error. When the flag is set to lenient, both irregular
     sequences and isolated surrogates are converted.
 
     Whether the flag is strict or lenient, all illegal sequences will cause
 
     Output parameters:
        The value "sourceIllegal" is returned from some routines if the input
-       sequence is malformed.  When "sourceIllegal" is returned, the source
+       sequence is malformed. When "sourceIllegal" is returned, the source
        value will point to the illegal value that caused the problem. E.g.,
        in UTF-8 when a sequence is malformed, it points to the start of the
-       malformed sequence.  
+       malformed sequence. 
 
     Author: Mark E. Davis, 1994.
     Rev History: Rick McGowan, fixes & updates May 2001.
index 39ed569ec4e8d11d745d970984b3cf344e14a4b7..95b3f15acd74609a80fd78c5d76eb706b2e0a23e 100644 (file)
@@ -65,7 +65,7 @@ typedef struct JSON_parser_struct* JSON_parser;
 /*! \brief JSON parser callback 
 
     \param ctx The pointer passed to new_JSON_parser.
-    \param type An element of JSON_type but not JSON_T_NONE.    
+    \param type An element of JSON_type but not JSON_T_NONE.
     \param value A representation of the parsed value. This parameter is NULL for
         JSON_T_ARRAY_BEGIN, JSON_T_ARRAY_END, JSON_T_OBJECT_BEGIN, JSON_T_OBJECT_END,
         JSON_T_NULL, JSON_T_TRUE, and SON_T_FALSE. String values are always returned
index 53f03399b4ab5ed408bffa8057e3d7e43bb2a8ad..8fcf01b2ab61e829abc8d1363de8ff8fc17430e0 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -771,7 +771,7 @@ createAnnounceURL( const tr_announcer     * announcer,
        and once over IPv6.
 
        To be safe, we should do both: add the "ipv6=" parameter and
-       announce twice.  At any rate, we're already computing our IPv6
+       announce twice. At any rate, we're already computing our IPv6
        address (for the LTEP handshake), so this comes for free. */
 
     ipv6 = tr_globalIPv6( );
@@ -1451,7 +1451,7 @@ onAnnounceDone( tr_session   * session,
         else if( ( responseCode == 404 ) || ( 500 <= responseCode && responseCode <= 599 ) )
         {
             /* 404: The requested resource could not be found but may be
-             * available again in the future.  Subsequent requests by
+             * available again in the future. Subsequent requests by
              * the client are permissible. */
 
             /* 5xx: indicate cases in which the server is aware that it
@@ -1889,7 +1889,7 @@ fprintf( stderr, "[%s] announce.c has %d requests ready to send (announce: %d, s
                 int rc;
                 rc = tr_dhtAnnounce(tor, AF_INET, 1);
                 if(rc == 0)
-                    /* The DHT is not ready yet.  Try again soon. */
+                    /* The DHT is not ready yet. Try again soon. */
                     tor->dhtAnnounceAt = now + 5 + tr_cryptoWeakRandInt( 5 );
                 else
                     /* We should announce at least once every 30 minutes. */
index 49288edff813ec26e4e9e45a0530248493d346bb..83c41581c2b4d567030630c3819b8f197c90201e 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -49,7 +49,7 @@ typedef struct
     const uint8_t *  compact;
     int              compactLen;
 
-    /* [0...100] for probability a peer is a seed.  calculated by the leecher/seeder ratio */
+    /* [0...100] for probability a peer is a seed. calculated by the leecher/seeder ratio */
     int8_t           seedProbability;
 }
 tr_tracker_event;
index b3098e8437d7a672d128e77899e5374c159e97c3..a433c64060ba451773f693979120ff0339bef0fd 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -205,9 +205,9 @@ phaseOne( tr_ptrArray * peerArray, tr_direction dir )
     int peerCount = tr_ptrArraySize( peerArray );
     struct tr_peerIo ** peers = (struct tr_peerIo**) tr_ptrArrayBase( peerArray );
 
-    /* First phase of IO.  Tries to distribute bandwidth fairly to keep faster
-     * peers from starving the others.  Loop through the peers, giving each a
-     * small chunk of bandwidth.  Keep looping until we run out of bandwidth
+    /* First phase of IO. Tries to distribute bandwidth fairly to keep faster
+     * peers from starving the others. Loop through the peers, giving each a
+     * small chunk of bandwidth. Keep looping until we run out of bandwidth
      * and/or peers that can use it */
     n = peerCount;
     dbgmsg( "%d peers to go round-robin for %s", n, (dir==TR_UP?"upload":"download") );
@@ -267,15 +267,15 @@ tr_bandwidthAllocate( tr_bandwidth  * b,
         }
     }
 
-    /* First phase of IO.  Tries to distribute bandwidth fairly to keep faster
-     * peers from starving the others.  Loop through the peers, giving each a
-     * small chunk of bandwidth.  Keep looping until we run out of bandwidth
+    /* First phase of IO. Tries to distribute bandwidth fairly to keep faster
+     * peers from starving the others. Loop through the peers, giving each a
+     * small chunk of bandwidth. Keep looping until we run out of bandwidth
      * and/or peers that can use it */
     phaseOne( &high, dir );
     phaseOne( &normal, dir );
     phaseOne( &low, dir );
 
-    /* Second phase of IO.  To help us scale in high bandwidth situations,
+    /* Second phase of IO. To help us scale in high bandwidth situations,
      * enable on-demand IO for peers with bandwidth left to burn.
      * This on-demand IO is enabled until (1) the peer runs out of bandwidth,
      * or (2) the next tr_bandwidthAllocate() call, when we start over again. */
index c78ec54d4a4d5486f8275dbce68cf30d1e3e36e9..7dd3f356a21395c10843997f994776f1f10a3194 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -74,19 +74,19 @@ struct tr_band
  *   Underneath those are per-peer bandwidth objects owned by tr_peer.
  *
  *   tr_session also owns a tr_handshake's bandwidths, so that the handshake
- *   I/O can be counted in the global raw totals.  When the handshake is done,
+ *   I/O can be counted in the global raw totals. When the handshake is done,
  *   the bandwidth's ownership passes to a tr_peer.
  *
  * MEASURING
  *
  *   When you ask a bandwidth object for its speed, it gives the speed of the
- *   subtree underneath it as well.  So you can get Transmission's overall
+ *   subtree underneath it as well. So you can get Transmission's overall
  *   speed by quering tr_session's bandwidth, per-torrent speeds by asking
  *   tr_torrent's bandwidth, and per-peer speeds by asking tr_peer's bandwidth.
  *
  * CONSTRAINING
  *
- *   Call tr_bandwidthAllocate() periodically.  tr_bandwidth knows its current
+ *   Call tr_bandwidthAllocate() periodically. tr_bandwidth knows its current
  *   speed and will decide how many bytes to make available over the
  *   user-specified period to reach the user-specified desired speed.
  *   If appropriate, it notifies its peer-ios that new bandwidth is available.
index 14004db6aeb74bb20c8fe6e7cc0b6f1e8a8ff96b..ed6bcf3c21dbc93325c1a8994d50d925a0b41fab 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 6d114f8f9ca30656864cd0f124d4312a72583f28..3c7db2df4caaabe80b472f538f331b4914f66358 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -27,7 +27,7 @@ struct evbuffer;
  * An object that acts like a union for
  * integers, strings, lists, dictionaries, booleans, and floating-point numbers.
  * The structure is named tr_benc due to the historical reason that it was
- * originally tightly coupled with bencoded data.  It currently supports
+ * originally tightly coupled with bencoded data. It currently supports
  * being parsed from, and serialized to, both bencoded notation and json notation.
  *
  * @{
@@ -248,7 +248,7 @@ int tr_bencParseStr( const uint8_t *  buf,
 ***
 **/
 
-/* this is only quasi-supported.  don't rely on it too heavily outside of libT */
+/* this is only quasi-supported. don't rely on it too heavily outside of libT */
 void  tr_bencMergeDicts( tr_benc * target, const tr_benc * source );
 
 /* @} */
index 7e46d4fdbca6e9a8c36ae4aeb04da840f8ca8776..dfe441f26b727f49a8f9e64334ba6ea4cb750fda 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 508d51eb6e07174ed57d9887d6f9acfee69367da..097b7bb639701347d27931d7bd31aff3db7949ca 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -64,7 +64,7 @@ size_t       tr_bitfieldCountTrueBits( const tr_bitfield* );
 tr_bitfield* tr_bitfieldOr( tr_bitfield*, const tr_bitfield* );
 
 /** A stripped-down version of bitfieldHas to be used
-    for speed when you're looping quickly.  This version
+    for speed when you're looping quickly. This version
     has none of tr_bitfieldHas()'s safety checks, so you
     need to call tr_bitfieldTestFast() first before you
     start looping. */
index c3246c2f2ff552754d5831d887255dcaecfadc3a..a2889e3aeb5f1c5bbf3d65d9ed7ba9f7c380923e 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 1f66dec3d7dc3c0a7711b28307d45ec450deb472..967e59d77750e88b433bfd7569d022d243fab02f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index c2bdb42dfab21ae87876d7071e939c6525fdf347..f89b82000117def608dd83e5784f2b2533025e26 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 063b31d063c7f8b7fcf1047f103a59cd26c66045..88be6337d4181335a1520ed2e0de9f2dbf6b4380 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 36277dcc736b92c3d10cc3008c5910889abc26bf..9ba36c4c0198fa7f42d9dd6270b60eabeb229660 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index d64530646be9fe3037a3e47f6645f73b13a2bb01..469467f43cfa0c3d28c400fb2ba78bbc89cb6074 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 9a8401dc52f46a73f4b06430e785b2c4a3689f2c..86aa5dad76fe70c3563dfe8ce98775effd756165 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index acf858a0cdb19cd368af2df614afa678f270b159..e4c713ef23155012437efe538492a33f62c11e38 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 0f033d9c4e7bd0708e0ea0c72feee98ff069c7c3..3340e435ad68e82c1a18faa5bd928f5d4da9c684 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 81c11371db0308ad472183f2b9bef100dbb12bf7..8904017fd9ebc88cc2fc4a55dd251d4eed9df9ce 100644 (file)
@@ -1,6 +1,6 @@
 /* * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 1f93c14c4bd369f4081c3d78e2f6c1167b9e60a5..12d87470558c87e68b47997efcec18bdf3b7beb4 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 9329c6daba2b9999c73c539c0596f8cc1abc548c..3f6ac0b9f0a4e213cfa4928642612e733a0ee68a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -425,7 +425,7 @@ TrOpenFile( tr_session             * session,
      * 1. Enable readahead for reasons described above w/POSIX_FADV_SEQUENTIAL.
      *
      * 2. Disable OS-level caching due to user reports of adverse effects of
-     *    excessive inactive memory.  However this is experimental because
+     *    excessive inactive memory. However this is experimental because
      *    previous attempts at this have *also* had adverse effects (see r8198)
      *
      * It's okay for this to fail silently, so don't let it affect errno
@@ -550,7 +550,7 @@ tr_fdFileCheckout( tr_session             * session,
         break;
     }
 
-    dbgmsg( "it's not already open.  looking for an open slot or an old file." );
+    dbgmsg( "it's not already open. looking for an open slot or an old file." );
     while( winner < 0 )
     {
         time_t date = tr_time( ) + 1;
index 27b03848d8a657fe3b64d26642dbbf006b517843..271179d6b39f1b2b7a9648d2e6c7c058880c659f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 772616346155052d93834421cffd6b4e591f8fee..f67b83f25efd9a4d003233f9b3eb740f64398cb8 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -615,7 +615,7 @@ readHandshake( tr_handshake *    handshake,
 
     handshake->haveReadAnythingFromPeer = TRUE;
 
-    pstrlen = evbuffer_pullup( inbuf, 1 )[0]; /* peek, don't read.  We may be
+    pstrlen = evbuffer_pullup( inbuf, 1 )[0]; /* peek, don't read. We may be
                                                  handing inbuf to AWAITING_YA */
 
     if( pstrlen == 19 ) /* unencrypted */
index c56a70cb79b1dfe0e40cb3a90a182bf045e4b5ec..167783872fd6f2d2a6729b73d57faed7b1ff43a6 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index b6d8a19e193997ab0a8a6c858aeff57ecc55fa02..963345b8ddb950f5faaeda81b8d7547780458134 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 843f9cd5fd9e6593f0c85f2250d3f61bb4c05edc..bb2e2f980ab2c221d98a1911b25b6602e165084e 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 977a8c29ba053ef1883d08293800fc860ee15edf..a9d2fa1319323c7771f7c04d6d884d5ab5786621 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index e06da02ff28b3e1b25263f6a0b8d1e9610534751..5ed35178cec70e09b12e466e7252a1095bfeca53 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 4d19c8065307c1c5ee5f4211c1c83dc0d0551bbc..006e279420a3a4ace7819533b0bb1e7b11f82bea 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 7b79b25d9b7db1d00d6c5e7164231f639e561ca9..7a7fc9c34adb10887f64281b48171bf530cbdf34 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -17,7 +17,7 @@ extern "C" {
 #endif
 
 /** @ingroup tr_benc */
-int tr_jsonParse( const char * source, /* such as a filename.  only when logging an error */
+int tr_jsonParse( const char * source, /* Such as a filename. Only when logging an error */
                   const void *     vbuf,
                   size_t           len,
                   struct tr_benc * setme_benc,
index baab247a045c733613391cbd2319f26ab587a748..28c27e7b942cc856f6cb591ea9afad19e04ae8ec 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 59719d753865231e1a243c35831806c9e8487edb..a6f03d085270af2350f58cc813af1bf385abb2ac 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -82,7 +82,7 @@ void* tr_list_remove_data( tr_list ** list, const void * data );
  * @brief remove the list's node that compares equal to "b" when compared with "compare_func"
  * @param list pointer to the list
  * @param b the comparison key
- * @param compare_func the comparison function.  The arguments passed to it will be the list's pointers and the comparison key "b"
+ * @param compare_func the comparison function. The arguments passed to it will be the list's pointers and the comparison key "b"
  * @return the removed data pointer, or NULL if no match was found
  */
 void*    tr_list_remove( tr_list **        list,
@@ -93,7 +93,7 @@ void*    tr_list_remove( tr_list **        list,
  * @brief find the list node whose data that compares equal to "b" when compared with "compare_func"
  * @param list pointer to the list
  * @param b the comparison key
- * @param compare_func the comparison function.  The arguments passed to it will be the list's pointers and the comparison key "b"
+ * @param compare_func the comparison function. The arguments passed to it will be the list's pointers and the comparison key "b"
  * @return the matching list node, or NULL if not match was found
  */
 tr_list* tr_list_find( tr_list *         list,
index 493ae9e1c51ffa415cef79b8af169443c82aa6de..07d1e028b8406ec49930bd987d89ba46c03761f8 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -24,7 +24,7 @@
 ***/
 
 /* this base32 code converted from code by Robert Kaye and Gordon Mohr
- * and is public domain.  see http://bitzi.com/publicdomain for more info */
+ * and is public domain. see http://bitzi.com/publicdomain for more info */
 
 static const int base32Lookup[] =
 {
index 1acbec1ba8542c2e58ab1738917657a1a4195078..9ff7769cd7104319eb1aaf51e6d84f81034d5684 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index bdf9a3432e6c27663b71cf88a713b5226cb73971..56d49e4668f44f0875089bccd774599be347c123 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 9cd92ccf254c0839b444b8ca786b6660a86489cc..1c913ae711465a6a76b4e6edb12fa38b92307b88 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 5b86c13e4c3967cf4c44f0f7458600041b6c3c87..1c1bff5f9bed05576756396300609e1108a092e5 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -255,7 +255,7 @@ tr_convertAnnounceToScrape( const char * announce )
      * If the text immediately following that '/' isn't 'announce'
      * it will be taken as a sign that that tracker doesn't support
      * the scrape convention. If it does, substitute 'scrape' for
-     * 'announce' to find the scrape page.  */
+     * 'announce' to find the scrape page. */
     if( ( ( s = strrchr( announce, '/' ) ) ) && !strncmp( ++s, "announce", 8 ) )
     {
         const char * prefix = announce;
index 79092b3ab15be4925b2e825f4f31a3419bcb67d7..172b4bb0d6d7d307429d6e6bc77df88e1a1cb74f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 1cf7dabcbf5f994d4180eac1384d643cc8589a7e..6406f2df454a3bb06e0d5013a46ebb7c6930db85 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -71,7 +71,7 @@ logVal( const char * func,
     else
         tr_ndbg(
              getKey( ),
-            "%s failed.  natpmp returned %d (%s); errno is %d (%s)",
+            "%s failed. Natpmp returned %d (%s); errno is %d (%s)",
             func, ret, strnatpmperr( ret ), errno, tr_strerror( errno ) );
 }
 
index 905d479bfc247dbc388e3e66cab6f46b8783f0f0..017164235a1098d3e05145c3c77f11e6bed2161c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 25cb7ce9585ba7534bd1bb581bb504ecce890b5d..cb8471871fb981aefa36119def1b6001fcc5d4e2 100644 (file)
@@ -483,7 +483,7 @@ tr_netClose( tr_session * session, int s )
    Please feel free to copy them into your software if it can help
    unbreaking the double-stack Internet. */
 
-/* Get the source address used for a given destination address.  Since
+/* Get the source address used for a given destination address. Since
    there is no official interface to get this information, we create
    a connected UDP socket (connected UDP... hmm...) and check its source
    address. */
@@ -668,7 +668,7 @@ isMartianAddr( const struct tr_address * a )
                    (memcmp(address, zeroes, 15) == 0 &&
                     (address[15] == 0 || address[15] == 1)) ||
                    /* Addresses outside of 2000::/3 are currently reserved,
-                      but might be allocated at some future time.  Since
+                      but might be allocated at some future time. Since
                       there are a lot of buggy peers pushing around such
                       addresses over PEX, we reject them until the end of
                       the 13th Baktun. */
index ee6b6d88466edf70370367fdbe36b73b104f8f3d..1eae05882ec5a5aba77c2ba797a0750653e48297 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 133ed637c4413a68e77b110c68dad797e25ae7b6..bfe303ab6cce999eb74e03b6160102ec4316b2a2 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 383fbe8c90530de7bb6bbf6949b34c0aaea7eba4..7885430f828c04a48401b9a0223d8961f1c61115 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 8481a0b711fc0ed0f8d62c31a1fe00371114eb53..54d5f2014e2ca864459d7e28e0296dff7ae34889 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -112,7 +112,7 @@ enum
 
 /**
  * Peer information that should be kept even before we've connected and
- * after we've disconnected.  These are kept in a pool of peer_atoms to decide
+ * after we've disconnected. These are kept in a pool of peer_atoms to decide
  * which ones would make good candidates for connecting to, and to watch out
  * for banned peers.
  *
@@ -524,7 +524,7 @@ tr_peerMgrFree( tr_peerMgr * manager )
 
     deleteTimers( manager );
 
-    /* free the handshakes.  Abort invokes handshakeDoneCB(), which removes
+    /* free the handshakes. Abort invokes handshakeDoneCB(), which removes
      * the item from manager->handshakes, so this is a little roundabout... */
     while( !tr_ptrArrayEmpty( &manager->incomingHandshakes ) )
         tr_handshakeAbort( tr_ptrArrayNth( &manager->incomingHandshakes, 0 ) );
@@ -640,7 +640,7 @@ tr_peerMgrPeerIsSeed( const tr_torrent  * tor,
 ***    for too long and (b) avoiding duplicate requests before endgame.
 ***
 *** 2. Torrent::pieces, an array of "struct weighted_piece" which lists the
-***    pieces that we want to request.  It's used to decide which blocks to
+***    pieces that we want to request. It's used to decide which blocks to
 ***    return next when tr_peerMgrGetBlockRequests() is called.
 **/
 
@@ -1477,7 +1477,7 @@ peerCallbackFunc( tr_peer * peer, const tr_peer_event * e, void * vt )
                         tr_file_index_t fileIndex;
 
                         /* only add this to downloadedCur if we got it from a peer --
-                         * webseeds shouldn't count against our ratio.  As one tracker
+                         * webseeds shouldn't count against our ratio. As one tracker
                          * admin put it, "Those pieces are downloaded directly from the
                          * content distributor, not the peers, it is the tracker's job
                          * to manage the swarms, not the web server and does not fit
@@ -2094,7 +2094,7 @@ stopTorrent( Torrent * t )
         peerDestructor( t, tr_ptrArrayNth( &t->peers, i ) );
     tr_ptrArrayClear( &t->peers );
 
-    /* disconnect the handshakes.  handshakeAbort calls handshakeDoneCB(),
+    /* disconnect the handshakes. handshakeAbort calls handshakeDoneCB(),
      * which removes the handshake from t->outgoingHandshakes... */
     while( !tr_ptrArrayEmpty( &t->outgoingHandshakes ) )
         tr_handshakeAbort( tr_ptrArrayNth( &t->outgoingHandshakes, 0 ) );
@@ -2960,7 +2960,7 @@ closePeer( Torrent * t, tr_peer * peer )
     atom = peer->atom;
 
     /* if we transferred piece data, then they might be good peers,
-       so reset their `numFails' weight to zero.  otherwise we connected
+       so reset their `numFails' weight to zero. otherwise we connected
        to them fruitlessly, so mark it as another fail */
     if( atom->piece_data_time ) {
         tordbg( t, "resetting atom %s numFails to 0", tr_atomAddrStr(atom) );
@@ -3374,7 +3374,7 @@ isPeerCandidate( const tr_torrent * tor, struct peer_atom * atom, const time_t n
         if( atomIsSeed( atom ) || ( atom->uploadOnly == UPLOAD_ONLY_YES ) )
             return FALSE;
 
-    /* not if we've already got a connection to them...  */
+    /* not if we've already got a connection to them... */
     if( peerIsInUse( tor->torrentPeers, atom ) )
         return FALSE;
 
index e98895e8a968937c3fa9190503d25a237dcd67a3..9c9026bb787b6f05cffee4c5ff9b61dfa79e7363 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 58c1dbdf9b7ad032afb1a41927331ea5bd0ea489..f8b5425ee6f93ae91ab9abaeadfbc5ba9669576a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -224,7 +224,7 @@ struct tr_peermsgs
     struct tr_incoming    incoming;
 
     /* if the peer supports the Extension Protocol in BEP 10 and
-       supplied a reqq argument, it's stored here.  otherwise the
+       supplied a reqq argument, it's stored here. Otherwise, the
        value is zero and should be ignored. */
     int64_t               reqq;
 
@@ -1907,10 +1907,14 @@ fillOutputBuffer( tr_peermsgs * msgs, time_t now )
             iovec[0].iov_len = req.length;
             evbuffer_commit_space( out, iovec, 1 );
 
+            /* if we couldn't load a piece we thought we could load... */
+            if( err )
+                tr_torrentSetLocalError( msgs->torrent, _( "Couldn't read piece #%zu from disk! Please Verify Local Data." ), (size_t)req.index );
+
             /* check the piece if it needs checking... */
             if( !err && tr_torrentPieceNeedsCheck( msgs->torrent, req.index ) )
                 if(( err = !tr_torrentCheckPiece( msgs->torrent, req.index )))
-                    tr_torrentSetLocalError( msgs->torrent, _( "Piece #%zu is corrupt!  Please Verify Local Data." ), (size_t)req.index );
+                    tr_torrentSetLocalError( msgs->torrent, _( "Piece #%zu is corrupt! Please Verify Local Data." ), (size_t)req.index );
 
             if( err )
             {
index 33a613e1d8311f2aa848c7a94a5c251d71ce0f1e..2a14b7a255644f4f8a77b30e6f58b82b77a79c51 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 77ae70a3401bb74f8c05e07dac5bc8a3372c634c..9f13097322414f64375b541040f65f774ec71c8a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 71ff16edcec2c5e76bf3f91851c7ab4af0bf4e81..17f54672835e308966c97ae624a0b527a7f96cac 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 6f0a099f09684e832f18f8e5a2c767dd929c76bb..278e82b60d5520ac137c789c0827ea18b29b5014 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -111,12 +111,12 @@ set_evtimer_from_status( tr_shared * s )
             break;
 
         case TR_PORT_ERROR:
-            /* some kind of an error.  wait 60 seconds and retry */
+            /* some kind of an error. wait 60 seconds and retry */
             sec = 60;
             break;
 
         default:
-            /* in progress.  pulse frequently. */
+            /* in progress. pulse frequently. */
             msec = 333000;
             break;
     }
index 9e9b8d584a6bdba89eba80c5a47ac73de1dedaee..fd387ba69a4b961a9006483dd12dd8fce402fec3 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 2cb892d47652cb6b432b0e8272e78c73bc14cbdf..6d517768c01d5b4b148ff72abdd28c3bb8837e8d 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index a2273cf8dca76ef6d39b1876c0b41df6f13ad215..13ecf9ea5d50642d94d91d00e33c55d731ed09dd 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index a1bccc2bcfee1cc6acb12d2c009aa06beb1a7bba..f285f02fd765cfc4b75d875c6d849a0c4f8da35c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -221,7 +221,7 @@ loadDND( tr_benc *    dict,
     {
         tr_tordbg(
             tor,
-            "Couldn't load DND flags.  dnd list (%p) has %zu children; torrent has %d files",
+            "Couldn't load DND flags. DND list (%p) has %zu children; torrent has %d files",
             list, tr_bencListSize( list ), (int)n );
     }
 
index 0e8cab7bdd42a1f90cf516ebae01dd296b867819..a1d6abede40cd909b406220f52b62263b51834ab 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 96253fe5ac4a12da25ff1964f6456bc56068af92..52eeacc0c8bf302f4954ba85106dc7136808b8f5 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -616,7 +616,7 @@ handle_request( struct evhttp_request * req, void * arg )
                 "<p>Unauthorized IP Address.</p>"
                 "<p>Either disable the IP address whitelist or add your address to it.</p>"
                 "<p>If you're editing settings.json, see the 'rpc-whitelist' and 'rpc-whitelist-enabled' entries.</p>"
-                "<p>If you're still using ACLs, use a whitelist instead.  See the transmission-daemon manpage for details.</p>" );
+                "<p>If you're still using ACLs, use a whitelist instead. See the transmission-daemon manpage for details.</p>" );
         }
         else if( server->isPasswordEnabled
                  && ( !pass || !user || strcmp( server->username, user )
index 6d9bc176d2811e685fff53e7d8c108465558622b..cd22a130c5e1a7c75cd1083f737ec4d21272ab49 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index b32677275a5a8587f5213e597076cf9cdeafd51c..cf01300b552860a3ab3bd33677fcda019ff8d579 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -455,7 +455,7 @@ addPeers( const tr_torrent * tor,
     tr_torrentPeersFree( peers, peerCount );
 }
 
-/* faster-than-strcmp() optimization.  this is kind of clumsy,
+/* faster-than-strcmp() optimization. This is kind of clumsy,
    but addField() was in the profiler's top 10 list, and this
    makes it 4x faster... */
 #define tr_streq(a,alen,b) ((alen+1==sizeof(b)) && !memcmp(a,b,alen))
index 6df46f894d6a52b41a5bb795e310078e578bca44..d3d81338d0dfd1589c268fb30d1e0a22d471b2b9 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 06d0a5b92b14c7ed4c66d6290e698c2c2993df95..c6b163032e66e0a63803174c14eb6460aedf1897 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -457,7 +457,7 @@ tr_sessionSaveSettings( tr_session    * session,
 
 /**
  * Periodically save the .resume files of any torrents whose
- * status has recently changed.  This prevents loss of metadata
+ * status has recently changed. This prevents loss of metadata
  * in the case of a crash, unclean shutdown, clumsy user, etc.
  */
 static void
@@ -1676,7 +1676,7 @@ sessionCloseImpl( void * vsession )
     tr_sharedClose( session );
     tr_rpcClose( &session->rpcServer );
 
-    /* close the torrents.  get the most active ones first so that
+    /* Close the torrents. Get the most active ones first so that
      * if we can't get them all closed in a reasonable amount of time,
      * at least we get the most important ones first. */
     tor = NULL;
index 03329eb631f8f9baeccf1facfe5d7e135fc302f0..b644c3f4f0277aae6069b6a23d62b97c05e97325 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index fe4e4ba5c53100ca2584318e0913286a9355f785..b32caf7adb14f874d1fb26c751d84f2b1258c6b8 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index e88cc75f5e10f6e601d005bb31693146823793a4..a983c859d3b08bc4d38a9097e35b69186f2178d7 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 68d7bdb7cbbc9705918e2b099118f2c255732819..da5006b3fef4aab93020b3852166f6de9c9d56f4 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 1b69f2202b0691f3a00182108dcd6cb26359e565..f8463651cc48aecbeaa10cac974bd74c0d065f37 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index c19e2ed0bafa35fc94049afd9d6f3d2697e70077..ad54f8d21f9879d8fbb2378978b44ec59c184018 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 6a9105656ccfd2d1fb9f3d5aafeb2c3de13e25bb..0ee7bcbf99301a0ace78f45129a45ba382bb3d7c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -652,7 +652,7 @@ tr_torrentInitFilePieces( tr_torrent * tor )
 static void torrentStart( tr_torrent * tor );
 
 /**
- * Decide on a block size.  constraints:
+ * Decide on a block size. Constraints:
  * (1) most clients decline requests over 16 KiB
  * (2) pieceSize must be a multiple of block size
  */
@@ -765,7 +765,7 @@ setLocalErrorIfFilesDisappeared( tr_torrent * tor )
     if( disappeared )
     {
         tr_tordbg( tor, "%s", "[LAZY] uh oh, the files disappeared" );
-        tr_torrentSetLocalError( tor, "%s", _( "No data found!  Ensure your drives are connected or use \"Set Location\".  To re-download, remove the torrent and re-add it." ) );
+        tr_torrentSetLocalError( tor, "%s", _( "No data found! Ensure your drives are connected or use \"Set Location\". To re-download, remove the torrent and re-add it." ) );
     }
 
     return disappeared;
index 649b27dc8f6e4576161a1c0dc47775a57a7aaa8d..838055edbd27ac6640b6ac020f42553a2614185f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index e220a145cb33f0ec30b2d86f86604d397341e375..9732d14fd4c43faeb5b6082a809072ceb0525c9e 100644 (file)
@@ -13,7 +13,7 @@ all copies or substantial portions of the Software.
 
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
@@ -182,7 +182,7 @@ dht_bootstrap(void *closure)
         }
 
         /* Our DHT code is able to take up to 9 nodes in a row without
-           dropping any.  After that, it takes some time to split buckets.
+           dropping any. After that, it takes some time to split buckets.
            So ping the first 8 nodes quickly, then slow down. */
         if(i < 8)
             nap(2);
@@ -265,7 +265,7 @@ rebind_ipv6(tr_bool force)
     int one = 1;
 
     /* We currently have no way to enable or disable IPv6 once the DHT has
-       been initialised.  Oh, well. */
+       been initialised. Oh, well. */
     if(ipv6 == NULL || (!force && dht6_socket < 0)) {
         if(last_bound) {
             free(last_bound);
@@ -283,7 +283,7 @@ rebind_ipv6(tr_bool force)
 
 #ifdef IPV6_V6ONLY
         /* Since we always open an IPv4 socket on the same port, this
-           shouldn't matter.  But I'm superstitious. */
+           shouldn't matter. But I'm superstitious. */
         setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, &one, sizeof(one));
 #endif
 
@@ -710,7 +710,7 @@ event_callback(int s, short type, void *ignore UNUSED )
         }
     }
 
-    /* Only do this once in a while.  Counting rather than measuring time
+    /* Only do this once in a while. Counting rather than measuring time
        avoids a system call. */
     count++;
     if(count >= 20) {
index d78e40912d311256ffc3de7b72c3bd679122e599..623db969d2bb467fa8d72eb7bff70b0078c37466 100644 (file)
@@ -13,7 +13,7 @@ all copies or substantial portions of the Software.
 
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
index a53363169c7391addd55278ca6832073973ffbb8..99e59747f1cd1344efdd690406121a95f5dd157c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index d73cc7e1ff9870d7f78016be007bb7603645f397..ae49ce766daa495ea01a600a80104a87890febfe 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index c6306eb48e058a4d2ab7b3107841bdac1b03a8e7..f18524b688757c912a1e2fff48707c7db8f936cc 100644 (file)
@@ -13,7 +13,7 @@ all copies or substantial portions of the Software.
 
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
@@ -61,7 +61,7 @@ THE SOFTWARE.
 * @file tr-lpd.c
 *
 * This module implements the Local Peer Discovery (LPD) protocol as supported by the
-* uTorrent client application.  A typical LPD datagram is 119 bytes long.
+* uTorrent client application. A typical LPD datagram is 119 bytes long.
 *
 * $Id$
 */
@@ -414,7 +414,7 @@ static inline void lpd_consistencyCheck( void )
 * @return Returns TRUE on success
 *
 * Send a query for torrent t out to the LPD multicast group (or the LAN, for that
-* matter).  A listening client on the same network might react by adding us to his
+* matter). A listening client on the same network might react by adding us to his
 * peer pool for torrent t.
 */
 tr_bool tr_lpdSendAnnounce( const tr_torrent* t )
@@ -471,7 +471,7 @@ tr_bool tr_lpdSendAnnounce( const tr_torrent* t )
 * the peer in/out parameter.
 *
 * @note The port information gets added to the peer structure if tr_lpdConsiderAnnounce
-* is able to extract the necessary information from the announce message.  That is, if
+* is able to extract the necessary information from the announce message. That is, if
 * return != 0, the caller may retrieve the value from the passed structure.
 */
 static int tr_lpdConsiderAnnounce( tr_pex* peer, const char* const msg )
index b279ed8b0354406134264d9a60b6344f7d80a662..549b528276e23ef55e807ccde2f1eae811f47f1e 100644 (file)
@@ -13,7 +13,7 @@ all copies or substantial portions of the Software.
 
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
index 060dfe4d9c4e4fb932fe88e29c77531c58313c3f..7499fe95d4f06184843d432e609941473b0d00ad 100644 (file)
@@ -108,7 +108,7 @@ tr_encryption_mode;
  *
  * A libtransmission session is created by calling tr_sessionInit().
  * libtransmission creates a thread for itself so that it can operate
- * independently of the caller's event loop.  The session will continue
+ * independently of the caller's event loop. The session will continue
  * until tr_sessionClose() is called.
  *
  * @{
@@ -317,7 +317,7 @@ void tr_sessionClose( tr_session * );
  * @brief Return the session's configuration directory.
  *
  * This is where transmission stores its .torrent files, .resume files,
- * blocklists, etc.  It's set in tr_transmissionInit() and is immutable
+ * blocklists, etc. It's set in tr_transmissionInit() and is immutable
  * during the session.
  */
 const char * tr_sessionGetConfigDir( const tr_session * );
@@ -445,7 +445,7 @@ const char* tr_sessionGetRPCUrl( const tr_session * session );
  * @brief Specify a whitelist for remote RPC access
  *
  * The whitelist is a comma-separated list of dotted-quad IP addresses
- * to be allowed.  Wildmat notation is supported, meaning that
+ * to be allowed. Wildmat notation is supported, meaning that
  * '?' is interpreted as a single-character wildcard and
  * '*' is interprted as a multi-character wildcard.
  */
@@ -503,7 +503,7 @@ typedef enum
     TR_RPC_OK            = 0,
 
     /* indicates to the caller that the client will take care of
-     * removing the torrent itself.  For example the client may
+     * removing the torrent itself. For example the client may
      * need to keep the torrent alive long enough to cleanly close
      * some resources in another thread. */
     TR_RPC_NOREMOVE   = ( 1 << 1 )
@@ -841,7 +841,7 @@ const char * tr_blocklistGetURL ( const tr_session * );
     @{
 
     Instantiating a tr_torrent had gotten more complicated as features were
-    added.  At one point there were four functions to check metainfo and five
+    added. At one point there were four functions to check metainfo and five
     to create tr_torrent.
 
     To remedy this, a Torrent Constructor (struct tr_ctor) has been introduced:
@@ -854,7 +854,7 @@ const char * tr_blocklistGetURL ( const tr_session * );
     an error number, or zero if no error occurred.
 
     You must call one of the SetMetainfo() functions before creating
-    a torrent with a tr_ctor.  The other functions are optional.
+    a torrent with a tr_ctor. The other functions are optional.
 
     You can reuse a single tr_ctor to create a batch of torrents --
     just call one of the SetMetainfo() functions between each
@@ -876,7 +876,7 @@ tr_ctorMode;
 struct tr_benc;
 
 /** @brief Create a new torrent constructor object used to instantiate a tr_torrent
-    @param session the tr_session.  NULL is allowed if you're only calling tr_torrentParse() rather than tr_torrentNew()
+    @param session the tr_session. NULL is allowed if you're only calling tr_torrentParse() rather than tr_torrentNew()
     @see tr_torrentNew(), tr_torrentParse() */
 tr_ctor* tr_ctorNew( const tr_session * session_or_NULL );
 
@@ -1028,7 +1028,7 @@ tr_torrent * tr_torrentNew( const tr_ctor   * ctor,
     @{ */
 
 /** @brief Frees memory allocated by tr_torrentNew().
-           Running torrents are stopped first.  */
+           Running torrents are stopped first. */
 void tr_torrentFree( tr_torrent * torrent );
 
 typedef int tr_fileFunc( const char * filename );
@@ -1071,7 +1071,7 @@ uint64_t tr_torrentGetBytesLeftToAllocate( const tr_torrent * torrent );
  * @brief Returns this torrent's unique ID.
  *
  * IDs are good as simple lookup keys, but are not persistent
- * between sessions.  If you need that, use tr_info.hash or
+ * between sessions. If you need that, use tr_info.hash or
  * tr_info.hashString.
  */
 int tr_torrentId( const tr_torrent * torrent );
@@ -1219,7 +1219,7 @@ const char * tr_torrentGetDownloadDir( const tr_torrent * torrent );
 /**
  * Returns the root directory of where the torrent is.
  *
- * This will usually be the downloadDir.  However if the torrent
+ * This will usually be the downloadDir. However if the torrent
  * has an incompleteDir enabled and hasn't finished downloading
  * yet, that will be returned instead.
  */
@@ -1296,7 +1296,7 @@ typedef void ( tr_torrent_idle_limit_hit_func )( tr_torrent   * torrent,
 
 /**
  * Register to be notified whenever a torrent's "completeness"
- * changes.  This will be called, for example, when a torrent
+ * changes. This will be called, for example, when a torrent
  * finishes downloading and changes from TR_LEECH to
  * either TR_SEED or TR_PARTIAL_SEED.
  *
@@ -1742,7 +1742,7 @@ typedef struct tr_stat
 
     /** When tr_stat.activity is TR_STATUS_CHECK or TR_STATUS_CHECK_WAIT,
         this is the percentage of how much of the files has been
-        verified.  When it gets to 1, the verify process is done.
+        verified. When it gets to 1, the verify process is done.
         Range is [0..1]
         @see tr_stat.activity */
     double recheckProgress;
@@ -1757,7 +1757,7 @@ typedef struct tr_stat
         Range is [0..1] */
     double metadataPercentComplete;
 
-    /** How much has been downloaded of the files the user wants.  This differs
+    /** How much has been downloaded of the files the user wants. This differs
         from percentComplete if the user wants only some of the torrent's files.
         Range is [0..1]
         @see tr_stat.leftUntilDone */
@@ -1812,13 +1812,13 @@ typedef struct tr_stat
     int    webseedsSendingToUs;
 
     /** Byte count of all the piece data we'll have downloaded when we're done,
-        whether or not we have it yet.  This may be less than tr_info.totalSize
+        whether or not we have it yet. This may be less than tr_info.totalSize
         if only some of the torrent's files are wanted.
         [0...tr_info.totalSize] */
     uint64_t    sizeWhenDone;
 
     /** Byte count of how much data is left to be downloaded until we've got
-        all the pieces that we want.  [0...tr_info.sizeWhenDone] */
+        all the pieces that we want. [0...tr_info.sizeWhenDone] */
     uint64_t    leftUntilDone;
 
     /** Byte count of all the piece data we want and don't have yet,
@@ -1826,7 +1826,7 @@ typedef struct tr_stat
     uint64_t    desiredAvailable;
 
     /** Byte count of all the corrupt data you've ever downloaded for
-        this torrent.  If you're on a poisoned torrent, this number can
+        this torrent. If you're on a poisoned torrent, this number can
         grow very large. */
     uint64_t    corruptEver;
 
@@ -1834,7 +1834,7 @@ typedef struct tr_stat
     uint64_t    uploadedEver;
 
     /** Byte count of all the non-corrupt data you've ever downloaded
-        for this torrent.  If you deleted the files and downloaded a second
+        for this torrent. If you deleted the files and downloaded a second
         time, this will be 2*totalSize.. */
     uint64_t    downloadedEver;
 
@@ -1886,12 +1886,12 @@ typedef struct tr_stat
 tr_stat;
 
 /** Return a pointer to an tr_stat structure with updated information
-    on the torrent.  This is typically called by the GUI clients every
+    on the torrent. This is typically called by the GUI clients every
     second or so to get a new snapshot of the torrent's status. */
 const tr_stat * tr_torrentStat( tr_torrent * torrent );
 
 /** Like tr_torrentStat(), but only recalculates the statistics if it's
-    been longer than a second since they were last calculated.  This can
+    been longer than a second since they were last calculated. This can
     reduce the CPU load if you're calling tr_torrentStat() frequently. */
 const tr_stat * tr_torrentStatCached( tr_torrent * torrent );
 
index ef58021a59b51d7ac89eb0960cac1f3c546712d4..c62e5173ad83f3d33ecf8c2ba1002a138ad8a8bd 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 9899378bc7dc3d782509e614b4dc3f19fad69a17..0681edc14840375b0ce65c27407f991976ea8db9 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 00e8e7745eb13d8c6d927698030482c5f438c0c5..e12cd4a2aefd86c021a81c3c857d60d2457c43ea 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -196,8 +196,7 @@ tr_upnpPulse( tr_upnp * handle,
             handle->isMapped = !err;
         }
         tr_ninf( getKey( ),
-                 _(
-                     "Port forwarding through \"%s\", service \"%s\".  (local address: %s:%d)" ),
+                 _( "Port forwarding through \"%s\", service \"%s\". (local address: %s:%d)" ),
                  handle->urls.controlURL, handle->data.first.servicetype,
                  handle->lanaddr, port );
         if( handle->isMapped )
index 9a7df9739a43e699612520369f73fd65f7b07f34..525b7d314b1520c4f5047009eb23ab2bac28dda0 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index c07d2fe64e94ada024e53d777f78ce920490e5b5..debe72435a6baa908f664cb6eab2db96c1705b94 100644 (file)
@@ -270,7 +270,7 @@ test_lowerbound( void )
         const int pos = tr_lowerBound( &i, A, N, sizeof(int), compareInts, &exact );
 
 #if 0
-        fprintf( stderr, "searching for %d.  ", i );
+        fprintf( stderr, "searching for %d. ", i );
         fprintf( stderr, "result: index = %d, ", pos );
         if( pos != N )
             fprintf( stderr, "A[%d] == %d\n", pos, A[pos] );
index 7e6e6a38db2cd12689020554f0a5fb163bfaa1cf..d29c6f1d01a0cb4be89805f3a9a9c52011227c07 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -678,7 +678,7 @@ tr_buildPath( const char *first_element, ... )
     }
     va_end( vl );
 
-    /* terminate the string.  if nonempty, eat the unwanted trailing slash */
+    /* terminate the string. if nonempty, eat the unwanted trailing slash */
     if( pch != buf )
         --pch;
     *pch++ = '\0';
@@ -899,14 +899,12 @@ tr_snprintf( char * buf, size_t buflen, const char * fmt, ... )
 }
 
 /*
- * Copy src to string dst of size siz.  At most siz-1 characters
- * will be copied.  Always NUL terminates (unless siz == 0).
+ * Copy src to string dst of size siz. At most siz-1 characters
+ * will be copied. Always NUL terminates (unless siz == 0).
  * Returns strlen(src); if retval >= siz, truncation occurred.
  */
 size_t
-tr_strlcpy( char *       dst,
-            const void * src,
-            size_t       siz )
+tr_strlcpy( char * dst, const void * src, size_t siz )
 {
 #ifdef HAVE_STRLCPY
     return strlcpy( dst, src, siz );
index 232fc296586dbe7bbcbc0d77e4735c2349d71381..08908e5a95bd6d052367008a256269cabd1d7ea8 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2009-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -272,7 +272,7 @@ void tr_wait_msec( long int delay_milliseconds );
  * @brief make a copy of 'str' whose non-utf8 content has been corrected or stripped
  * @return a newly-allocated string that must be freed with tr_free()
  * @param str the string to make a clean copy of
- * @param len the length of the string to copy.  If -1, the entire string is used.
+ * @param len the length of the string to copy. If -1, the entire string is used.
  */
 char* tr_utf8clean( const char * str, int len ) TR_GNUC_MALLOC;
 
@@ -331,7 +331,7 @@ void* tr_valloc( size_t bufLen );
 /**
  * @brief make a newly-allocated copy of a substring
  * @param in is a void* so that callers can pass in both signed & unsigned without a cast
- * @param len length of the substring to copy.  if a length less than zero is passed in, strlen( len ) is used
+ * @param len length of the substring to copy. if a length less than zero is passed in, strlen( len ) is used
  * @return a newly-allocated copy of `in' that can be freed with tr_free()
  */
 char* tr_strndup( const void * in, int len ) TR_GNUC_MALLOC;
@@ -540,7 +540,7 @@ extern time_t transmission_now;
  * This function returns a second counter that is updated once per second.
  * If something blocks the libtransmission thread for more than a second,
  * that counter may be thrown off, so this function is not guaranteed
- * to always be accurate.  However, it is *much* faster when 100% accuracy
+ * to always be accurate. However, it is *much* faster when 100% accuracy
  * isn't needed
  */
 static inline time_t tr_time( void ) { return transmission_now; }
index 2f7c773f69399032fdefb9f8cec620874af54763..72ccf772f8e2bf5fc4171ea34e624cbd45ee2cc1 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
@@ -147,7 +147,7 @@ verifyTorrent( tr_torrent * tor, tr_bool * stopFlag )
 
     /* stopwatch */
     end = tr_time( );
-    tr_tordbg( tor, "Verification is done.  It took %d seconds to verify %"PRIu64" bytes (%"PRIu64" bytes per second)",
+    tr_tordbg( tor, "Verification is done. It took %d seconds to verify %"PRIu64" bytes (%"PRIu64" bytes per second)",
                (int)(end-begin), tor->info.totalSize,
                (uint64_t)(tor->info.totalSize/(1+(end-begin))) );
 
index d4eb822d4187ac904299fd434e674befa3e13536..eac79a67218bd22543ed30f825c5cc0b3b2a555a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2007-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 259b47777457c0d40d6b399a15342bb8b836ad2c..8fcbd04999349cfb00494286555dcfbfae3ebc86 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 88fb64581ef784124c37ecc2bfcfb09cff666ff4..252595cd5c209c6bc9afdce4fffd042838f4163f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 23790cd507d990825d7fbdbcfde5a05211237cc6..d64f1da5416d0d024fc7ffbb6c3bf82786bc13e2 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 7f51624dd5061e0feca888d1d8d9fdafd5ab816f..a69e7574517d990346d5b881bda792d3a894f24b 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file Copyright (C) 2008-2010 Mnemosyne LLC
  *
- * This file is licensed by the GPL version 2.  Works owned by the
+ * This file is licensed by the GPL version 2. Works owned by the
  * Transmission project are granted a special exemption to clause 2(b)
  * so that the bulk of its code can remain under the MIT license.
  * This exemption does not extend to derived works not owned by
index 08dd04e4e90e4681e07b17c4ed723493ecfd6681..1e95839f955eb183b86962862018b0db841e1dc1 100644 (file)
@@ -3,7 +3,7 @@
 **
 **  Do shell-style pattern matching for ?, \, [], and * characters.
 **  Might not be robust in face of malformed patterns; e.g., "foo[a-"
-**  could cause a segmentation violation.  It is 8bit clean.
+**  could cause a segmentation violation. It is 8bit clean.
 **
 **  Written by Rich $alz, mirror!rs, Wed Nov 26 19:03:17 EST 1986.
 **  Rich $alz is now <rsalz@bbn.com>.
 **  for the star character.
 **
 **  Special thanks to Lars Mathiesen <thorinn@diku.dk> for the ABORT code.
-**  This can greatly speed up failing wildcard patterns.  For example:
+**  This can greatly speed up failing wildcard patterns. For example:
 **     pattern: -*-*-*-*-*-*-12-*-*-*-m-*-*-*
 **     text 1:  -adobe-courier-bold-o-normal--12-120-75-75-m-70-iso8859-1
 **     text 2:  -adobe-courier-bold-o-normal--12-120-75-75-X-70-iso8859-1
-**  Text 1 matches with 51 calls, while text 2 fails with 54 calls.  Without
-**  the ABORT, then it takes 22310 calls to fail.  Ugh.  The following
+**  Text 1 matches with 51 calls, while text 2 fails with 54 calls. Without
+**  the ABORT, then it takes 22310 calls to fail. Ugh. The following
 **  explanation is from Lars:
 **  The precondition that must be fulfilled is that DoMatch will consume
-**  at least one character in text.  This is true if *p is neither '*' nor
+**  at least one character in text. This is true if *p is neither '*' nor
 **  '\0'.)  The last return has ABORT instead of FALSE to avoid quadratic
-**  behaviour in cases like pattern "*a*b*c*d" with text "abcxxxxx".  With
+**  behaviour in cases like pattern "*a*b*c*d" with text "abcxxxxx". With
 **  FALSE, each star-loop has to run to the end of the text; with ABORT
 **  only the last one does.
 **
 **  Once the control of one instance of DoMatch enters the star-loop, that
 **  instance will return either TRUE or ABORT, and any calling instance
 **  will therefore return immediately after (without calling recursively
-**  again).  In effect, only one star-loop is ever active.  It would be
+**  again). In effect, only one star-loop is ever active. It would be
 **  possible to modify the code to maintain this context explicitly,
 **  eliminating all recursive calls at the cost of some complication and
 **  loss of clarity (and the ABORT stuff seems to be unclear enough by
-**  itself).  I think it would be unwise to try to get this into a
+**  itself). I think it would be unwise to try to get this into a
 **  released version unless you have a good test data base to try it out
 **  on.
 */
@@ -110,7 +110,7 @@ DoMatch( const char * text, const char * p )
 
 
 /*
-**  User-level routine.  Returns TRUE or FALSE.
+**  User-level routine. Returns TRUE or FALSE.
 */
 int
 tr_wildmat(const char * text, const char * p )