Better message grammar.
authorMartin Pool <mbp@samba.org>
Wed, 21 Feb 2001 07:18:50 +0000 (07:18 +0000)
committerMartin Pool <mbp@samba.org>
Wed, 21 Feb 2001 07:18:50 +0000 (07:18 +0000)
log.c

diff --git a/log.c b/log.c
index 10f34d6..5832b20 100644 (file)
--- a/log.c
+++ b/log.c
@@ -1,6 +1,6 @@
 /* -*- c-file-style: "linux"; -*-
    
-   Copyright (C) 1998-2000 by Andrew Tridgell
+   Copyright (C) 1998-2001 by Andrew Tridgell
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 */
 
 /*
-  logging and utility functions
+  Logging and utility functions.
 
-  tridge, May 1998
+  Mapping to human-readable messages added by Martin Pool
+  <mbp@samba.org>, Oct 2000.
   */
 #include "rsync.h"
 
@@ -42,7 +43,7 @@ struct {
        { RERR_STREAMIO   , "error in rsync protocol data stream" }, 
        { RERR_MESSAGEIO  , "errors with program diagnostics" }, 
        { RERR_IPC        , "error in IPC code" }, 
-       { RERR_SIGNAL     , "status returned when sent SIGUSR1, SIGINT" }, 
+       { RERR_SIGNAL     , "received SIGUSR1 or SIGINT" }, 
        { RERR_WAITCHILD  , "some error returned by waitpid()" }, 
        { RERR_MALLOC     , "error allocating core memory buffers" }, 
        { RERR_TIMEOUT    , "timeout in data send/receive" },