OSSP CVS Repository

ossp - Check-in [3128]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3128
Date: 2003-Jan-30 20:45:19 (local)
2003-Jan-30 19:45:19 (UTC)
User:rse
Branch:
Comment: remove trailing whitespaces from source tree
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/AUTHORS      1.4 -> 1.5     2 inserted, 2 deleted
ossp-pkg/lmtp2nntp/INSTALL      1.13 -> 1.14     3 inserted, 3 deleted
ossp-pkg/lmtp2nntp/Makefile.in      1.52 -> 1.53     6 inserted, 6 deleted
ossp-pkg/lmtp2nntp/configure.ac      1.30 -> 1.31     28 inserted, 28 deleted
ossp-pkg/lmtp2nntp/devtool      1.2 -> 1.3     1 inserted, 1 deleted
ossp-pkg/lmtp2nntp/devtool.func      1.4 -> 1.5     1 inserted, 1 deleted
ossp-pkg/lmtp2nntp/example.conf      1.18 -> 1.19     4 inserted, 4 deleted
ossp-pkg/lmtp2nntp/lmtp2nntp.pod      1.39 -> 1.40     4 inserted, 4 deleted
ossp-pkg/lmtp2nntp/lmtp2nntp_argz.c      1.3 -> 1.4     1 inserted, 1 deleted
ossp-pkg/lmtp2nntp/lmtp2nntp_config.c      1.89 -> 1.90     10 inserted, 10 deleted
ossp-pkg/lmtp2nntp/lmtp2nntp_daemon.c      1.2 -> 1.3     9 inserted, 9 deleted
ossp-pkg/lmtp2nntp/lmtp2nntp_l2.c      1.5 -> 1.6     1 inserted, 1 deleted
ossp-pkg/lmtp2nntp/lmtp2nntp_lmtp.c      1.3 -> 1.4     21 inserted, 21 deleted
ossp-pkg/lmtp2nntp/lmtp2nntp_main.c      1.61 -> 1.62     38 inserted, 38 deleted
ossp-pkg/lmtp2nntp/lmtp2nntp_msg.c      1.32 -> 1.33     4 inserted, 4 deleted
ossp-pkg/lmtp2nntp/lmtp2nntp_nntp.c      1.3 -> 1.4     15 inserted, 15 deleted
ossp-pkg/lmtp2nntp/lmtp2nntp_option.c      1.22 -> 1.23     2 inserted, 2 deleted
ossp-pkg/lmtp2nntp/lmtp2nntp_shpat.c      1.3 -> 1.4     2 inserted, 2 deleted
ossp-pkg/lmtp2nntp/test.sh      1.14 -> 1.15     3 inserted, 3 deleted

ossp-pkg/lmtp2nntp/AUTHORS 1.4 -> 1.5

--- AUTHORS      2003/01/30 19:42:12     1.4
+++ AUTHORS      2003/01/30 19:45:19     1.5
@@ -5,10 +5,10 @@
   |_|_|_| \___/|____/____/|_|    |_|_||_||_|\__| .__/____|_||_|_||_|\__| .__/
                                                |_|                     |_|
   OSSP lmtp2nntp - Mail to News Gateway
-  
+
   AUTHORS
 
-  This is a list of authors who have written or 
+  This is a list of authors who have written or
   edited major parts of the OSSP lmtp2nntp sources.
 
   Ralf S. Engelschall   <ralf.engelschall@cw.com>


ossp-pkg/lmtp2nntp/INSTALL 1.13 -> 1.14

--- INSTALL      2003/01/30 19:42:12     1.13
+++ INSTALL      2003/01/30 19:45:19     1.14
@@ -11,7 +11,7 @@
 
   To install OSSP lmtp2nntp into /path/to/lmtp2nntp/{bin,man}/ perform
   the following steps in your shell:
-      
+
     $ ./configure --prefix=/path/to/lmtp2nntp
     $ make
     $ make check
@@ -46,11 +46,11 @@
      | _DEFIFNOT(`LMTP2NNTP_MAILER_TIMEOUT',       `nntp:connect=60')
      | _DEFIFNOT(`LMTP2NNTP_MAILER_NEWSGROUP',     `\*')
      | POPDIVERT
-     |   
+     |
      | #########################################
      | ###   LMTP2NNTP Mailer specification  ###
      | #########################################
-     | 
+     |
      | Mlmtp2nntp, P=LMTP2NNTP_MAILER_PATH, F=LMTP2NNTP_MAILER_FLAGS,
      |             S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP, E=\r\n,
      |             L=990, T=DNS/RFC822/SMTP, M=LMTP2NNTP_MAILER_SIZE,


ossp-pkg/lmtp2nntp/Makefile.in 1.52 -> 1.53

--- Makefile.in  2003/01/30 19:42:12     1.52
+++ Makefile.in  2003/01/30 19:45:19     1.53
@@ -46,7 +46,7 @@
 POD2MAN     = pod2man
 
 PROG = lmtp2nntp
-HDRS = lmtp2nntp_global.h lmtp2nntp_daemon.h lmtp2nntp_lmtp.h lmtp2nntp_nntp.h lmtp2nntp_argz.h lmtp2nntp_shpat.h lmtp2nntp_msg.h lmtp2nntp_option.h lmtp2nntp_config.h lmtp2nntp_exwrap.h 
+HDRS = lmtp2nntp_global.h lmtp2nntp_daemon.h lmtp2nntp_lmtp.h lmtp2nntp_nntp.h lmtp2nntp_argz.h lmtp2nntp_shpat.h lmtp2nntp_msg.h lmtp2nntp_option.h lmtp2nntp_config.h lmtp2nntp_exwrap.h
 SRCS = lmtp2nntp_main.c   lmtp2nntp_daemon.c lmtp2nntp_lmtp.c lmtp2nntp_nntp.c lmtp2nntp_argz.c lmtp2nntp_shpat.c lmtp2nntp_msg.c lmtp2nntp_option.c lmtp2nntp_config.c lmtp2nntp_exwrap.c lmtp2nntp_version.c lmtp2nntp_l2.c
 OBJS = lmtp2nntp_main.o   lmtp2nntp_daemon.o lmtp2nntp_lmtp.o lmtp2nntp_nntp.o lmtp2nntp_argz.o lmtp2nntp_shpat.o lmtp2nntp_msg.o lmtp2nntp_option.o lmtp2nntp_config.o lmtp2nntp_exwrap.o lmtp2nntp_version.o lmtp2nntp_l2.o
 
@@ -62,7 +62,7 @@
 _SUBDIRS_distclean _SUBDIRS_realclean _SUBDIRS_depend:
         @$(MAKE) $(MFLAGS) \
                  _SUBDIRS_TARGET=`echo $@ | sed -e 's/^_SUBDIRS_//'` \
-                 _SUBDIRS_STEPDOWN 
+                 _SUBDIRS_STEPDOWN
 
 #   the work horse rule which steps down to the subdirs in a loop
 _SUBDIRS_STEPDOWN:
@@ -133,12 +133,12 @@
 lmtp2nntp_main.o: lmtp2nntp_main.c lmtp2nntp_argz.h lmtp2nntp_shpat.h lmtp2nntp_daemon.h lmtp2nntp_global.h config.h lmtp2nntp_exwrap.h lmtp2nntp_option.h lmtp2nntp_config.h lmtp2nntp_common.h lmtp2nntp_nntp.h lmtp2nntp_msg.h lmtp2nntp_lmtp.h lmtp2nntp_version.c
 lmtp2nntp_daemon.o: lmtp2nntp_daemon.c config.h lmtp2nntp_daemon.h
 lmtp2nntp_lmtp.o: lmtp2nntp_lmtp.c lmtp2nntp_lmtp.h config.h
-lmtp2nntp_nntp.o: lmtp2nntp_nntp.c lmtp2nntp_nntp.h lmtp2nntp_msg.h lmtp2nntp_global.h config.h lmtp2nntp_exwrap.h lmtp2nntp_common.h 
+lmtp2nntp_nntp.o: lmtp2nntp_nntp.c lmtp2nntp_nntp.h lmtp2nntp_msg.h lmtp2nntp_global.h config.h lmtp2nntp_exwrap.h lmtp2nntp_common.h
 lmtp2nntp_argz.o: lmtp2nntp_argz.c lmtp2nntp_argz.h config.h
 lmtp2nntp_shpat.o: lmtp2nntp_shpat.c config.h lmtp2nntp_shpat.h
-lmtp2nntp_msg.o: lmtp2nntp_msg.c lmtp2nntp_msg.h lmtp2nntp_global.h config.h lmtp2nntp_exwrap.h lmtp2nntp_argz.h lmtp2nntp_common.h lmtp2nntp_nntp.h 
+lmtp2nntp_msg.o: lmtp2nntp_msg.c lmtp2nntp_msg.h lmtp2nntp_global.h config.h lmtp2nntp_exwrap.h lmtp2nntp_argz.h lmtp2nntp_common.h lmtp2nntp_nntp.h
 lmtp2nntp_option.o: lmtp2nntp_option.c lmtp2nntp_argz.h lmtp2nntp_global.h config.h lmtp2nntp_exwrap.h lmtp2nntp_option.h lmtp2nntp_config.h lmtp2nntp_common.h lmtp2nntp_nntp.h lmtp2nntp_msg.h lmtp2nntp_lmtp.h lmtp2nntp_version.c
 lmtp2nntp_config.o: lmtp2nntp_config.c lmtp2nntp_argz.h lmtp2nntp_global.h config.h lmtp2nntp_exwrap.h lmtp2nntp_option.h lmtp2nntp_config.h lmtp2nntp_common.h lmtp2nntp_nntp.h lmtp2nntp_msg.h lmtp2nntp_lmtp.h lmtp2nntp_version.c
-lmtp2nntp_exwrap.o: lmtp2nntp_exwrap.c lmtp2nntp_global.h config.h lmtp2nntp_exwrap.h 
+lmtp2nntp_exwrap.o: lmtp2nntp_exwrap.c lmtp2nntp_global.h config.h lmtp2nntp_exwrap.h
 lmtp2nntp_version.o: lmtp2nntp_version.c lmtp2nntp_version.c
-lmtp2nntp_l2.o: lmtp2nntp_l2.c lmtp2nntp_common.h lmtp2nntp_nntp.h lmtp2nntp_msg.h lmtp2nntp_global.h config.h lmtp2nntp_exwrap.h 
+lmtp2nntp_l2.o: lmtp2nntp_l2.c lmtp2nntp_common.h lmtp2nntp_nntp.h lmtp2nntp_msg.h lmtp2nntp_global.h config.h lmtp2nntp_exwrap.h


ossp-pkg/lmtp2nntp/configure.ac 1.30 -> 1.31

--- configure.ac 2003/01/30 19:42:12     1.30
+++ configure.ac 2003/01/30 19:45:19     1.31
@@ -51,9 +51,9 @@
 AC_CHECK_HEADERS(alloca.h float.h)
 
 dnl #   check for OSSP ex library
-AC_CHECK_EXTLIB([OSSP ex], 
-                ex, __ex_ctx, ex.h, 
-                [SUBDIR_EX=""], 
+AC_CHECK_EXTLIB([OSSP ex],
+                ex, __ex_ctx, ex.h,
+                [SUBDIR_EX=""],
                 [SUBDIR_EX="lib_ex"
                  CPPFLAGS="$CPPFLAGS -Ilib_ex"
                  CFLAGS="$CFLAGS -Ilib_ex"
@@ -62,9 +62,9 @@
 AC_SUBST(SUBDIR_EX)
 
 dnl #   check for OSSP str library
-AC_CHECK_EXTLIB([OSSP str], 
-                str, str_parse, str.h, 
-                [SUBDIR_STR=""], 
+AC_CHECK_EXTLIB([OSSP str],
+                str, str_parse, str.h,
+                [SUBDIR_STR=""],
                 [SUBDIR_STR="lib_str"
                  CPPFLAGS="$CPPFLAGS -Ilib_str"
                  CFLAGS="$CFLAGS -Ilib_str"
@@ -73,9 +73,9 @@
 AC_SUBST(SUBDIR_STR)
 
 dnl #   check for OSSP l2 library
-AC_CHECK_EXTLIB([OSSP l2], 
-                l2, l2_stream_log, l2.h, 
-                [SUBDIR_L2=""], 
+AC_CHECK_EXTLIB([OSSP l2],
+                l2, l2_stream_log, l2.h,
+                [SUBDIR_L2=""],
                 [SUBDIR_L2="lib_l2"
                  CPPFLAGS="$CPPFLAGS -Ilib_l2"
                  CFLAGS="$CFLAGS -Ilib_l2"
@@ -84,9 +84,9 @@
 AC_SUBST(SUBDIR_L2)
 
 dnl #   check for OSSP sa library
-AC_CHECK_EXTLIB([OSSP sa], 
-                sa, sa_create, sa.h, 
-                [SUBDIR_SA=""], 
+AC_CHECK_EXTLIB([OSSP sa],
+                sa, sa_create, sa.h,
+                [SUBDIR_SA=""],
                 [SUBDIR_SA="lib_sa"
                  CPPFLAGS="$CPPFLAGS -Ilib_sa"
                  CFLAGS="$CFLAGS -Ilib_sa"
@@ -95,9 +95,9 @@
 AC_SUBST(SUBDIR_SA)
 
 dnl #   check for OSSP var library
-AC_CHECK_EXTLIB([OSSP var], 
-                var, var_expand, var.h, 
-                [SUBDIR_VAR=""], 
+AC_CHECK_EXTLIB([OSSP var],
+                var, var_expand, var.h,
+                [SUBDIR_VAR=""],
                 [SUBDIR_VAR="lib_var"
                  CPPFLAGS="$CPPFLAGS -Ilib_var"
                  CFLAGS="$CFLAGS -Ilib_var"
@@ -106,9 +106,9 @@
 AC_SUBST(SUBDIR_VAR)
 
 dnl #   check for OSSP val library
-AC_CHECK_EXTLIB([OSSP val], 
-                val, val_create, val.h, 
-                [SUBDIR_VAL=""], 
+AC_CHECK_EXTLIB([OSSP val],
+                val, val_create, val.h,
+                [SUBDIR_VAL=""],
                 [SUBDIR_VAL="lib_val"
                  CPPFLAGS="$CPPFLAGS -Ilib_val"
                  CFLAGS="$CFLAGS -Ilib_val"
@@ -117,9 +117,9 @@
 AC_SUBST(SUBDIR_VAL)
 
 dnl #   check for OSSP popt library
-AC_CHECK_EXTLIB([OSSP popt], 
-                popt, popt_getcontext, popt.h, 
-                [SUBDIR_POPT=""], 
+AC_CHECK_EXTLIB([OSSP popt],
+                popt, popt_getcontext, popt.h,
+                [SUBDIR_POPT=""],
                 [SUBDIR_POPT="lib_popt"
                  CPPFLAGS="$CPPFLAGS -Ilib_popt"
                  CFLAGS="$CFLAGS -Ilib_popt"
@@ -128,9 +128,9 @@
 AC_SUBST(SUBDIR_POPT)
 
 dnl #   check for OSSP pcre library
-AC_CHECK_EXTLIB([OSSP pcre], 
-                pcre, pcre_compile, pcre.h, 
-                [SUBDIR_PCRE=""], 
+AC_CHECK_EXTLIB([OSSP pcre],
+                pcre, pcre_compile, pcre.h,
+                [SUBDIR_PCRE=""],
                 [SUBDIR_PCRE="lib_pcre"
                  CPPFLAGS="$CPPFLAGS -Ilib_pcre"
                  CFLAGS="$CFLAGS -Ilib_pcre"
@@ -139,9 +139,9 @@
 AC_SUBST(SUBDIR_PCRE)
 
 dnl #   check for OSSP tai library
-AC_CHECK_EXTLIB([OSSP tai], 
-                tai, tai_create, tai.h, 
-                [SUBDIR_TAI=""], 
+AC_CHECK_EXTLIB([OSSP tai],
+                tai, tai_create, tai.h,
+                [SUBDIR_TAI=""],
                 [SUBDIR_TAI="lib_tai"
                  CPPFLAGS="$CPPFLAGS -Ilib_tai"
                  CFLAGS="$CFLAGS -Ilib_tai"
@@ -150,7 +150,7 @@
 AC_SUBST(SUBDIR_TAI)
 
 dnl #   check for external Dmalloc library
-AC_CHECK_EXTLIB([Dmalloc], dmalloc, dmalloc_debug, dmalloc.h, 
+AC_CHECK_EXTLIB([Dmalloc], dmalloc, dmalloc_debug, dmalloc.h,
                 [AC_DEFINE(WITH_DMALLOC, 1, [Define to 1 if building with Dmalloc])])
 
 dnl #   post-processing for LIBS_EXTRA


ossp-pkg/lmtp2nntp/devtool 1.2 -> 1.3

--- devtool      2001/12/31 15:15:36     1.2
+++ devtool      2003/01/30 19:45:19     1.3
@@ -1,7 +1,7 @@
 #!/bin/sh
 ##
 ##  devtool -- Development Tool
-##  Copyright (c) 2001-2002 Ralf S. Engelschall <rse@engelschall.com> 
+##  Copyright (c) 2001-2002 Ralf S. Engelschall <rse@engelschall.com>
 ##
 
 if [ $# -eq 0 ]; then


ossp-pkg/lmtp2nntp/devtool.func 1.4 -> 1.5

--- devtool.func 2003/01/23 16:26:50     1.4
+++ devtool.func 2003/01/30 19:45:19     1.5
@@ -1,6 +1,6 @@
 ##
 ##  devtool.func -- Development Tool Functions
-##  Copyright (c) 2001-2002 Ralf S. Engelschall <rse@engelschall.com> 
+##  Copyright (c) 2001-2002 Ralf S. Engelschall <rse@engelschall.com>
 ##
 
 devtool_require () {


ossp-pkg/lmtp2nntp/example.conf 1.18 -> 1.19

--- example.conf 2003/01/28 16:34:07     1.18
+++ example.conf 2003/01/30 19:45:19     1.19
@@ -1,7 +1,7 @@
 
-# 
+#
 # LMTP2NNTP example.conf
-# 
+#
 
         ### DAEMON ###
 
@@ -15,9 +15,9 @@
 acl             10.0.0.0/8                      #see -a aka --acl
 acl             172.16.0.0/12
 acl             192.168.0.0/16
-acl             127.0.0.1/32     
+acl             127.0.0.1/32
 bind            127.0.0.1:12345                 #see -b aka --bind, use IPv4:port
-#bind           "/tmp/uds:600"                  #    UNIX domain socket path:permissions 
+#bind           "/tmp/uds:600"                  #    UNIX domain socket path:permissions
 
         ### GATEWAY ###
 


ossp-pkg/lmtp2nntp/lmtp2nntp.pod 1.39 -> 1.40

--- lmtp2nntp.pod        2003/01/30 19:42:12     1.39
+++ lmtp2nntp.pod        2003/01/30 19:45:19     1.40
@@ -154,9 +154,9 @@
 
 Destination hostname or address and optional TCP port of a NNTP service.
 Unless a port is specified, getserbyname(nntp) is queried with fallback to
-119/tcp. If C<-d> option is ommited, 
+119/tcp. If C<-d> option is ommited,
 C<news> is used and if this doesn't
-resolve, C<localhost> is assumed.  
+resolve, C<localhost> is assumed.
 Any addr can be a name which will be resolved on program launch time. It is
 assumed that multiple servers are used to increase the reliability of the news
 system and to speed up distribution by posting the same article to more than
@@ -269,7 +269,7 @@
 by uname(3). SINGLE.
 
 =item B<--operationmode|-o> I<abc/a.d.e|post|feed>
-     
+
 Set fake status or operationmode.
 Possible values for I<operationmode> are C<post>, C<feed> or a string in
 "LLL/D.D.D" format used to fake a LMTP return code.  In C<post> mode articles
@@ -301,7 +301,7 @@
 The file must be in RFC822 E-Mail format. Use this option for debugging
 only, it disables both the mail server and news client.
 
-=item B<--timeoutlmtp> I<sec>        
+=item B<--timeoutlmtp> I<sec>
 
 LMTP server default timeout. Sets timeout for accept, read and write at
 once.  Setting sec to zero means to wait infinite.  Note that all LMTP


ossp-pkg/lmtp2nntp/lmtp2nntp_argz.c 1.3 -> 1.4

--- lmtp2nntp_argz.c     2003/01/30 19:42:12     1.3
+++ lmtp2nntp_argz.c     2003/01/30 19:45:19     1.4
@@ -420,7 +420,7 @@
                         size_t part_len = my_strnlen(argz, len);
                         argz += part_len;
                         len -= part_len;
-                        if (len-- <= 1)                    /* includes final '\0' we want to stop 
+                        if (len-- <= 1)                    /* includes final '\0' we want to stop
                                                                             * at */
                                 break;
                         *argz++ = sep;


ossp-pkg/lmtp2nntp/lmtp2nntp_config.c 1.89 -> 1.90

--- lmtp2nntp_config.c   2003/01/30 19:42:12     1.89
+++ lmtp2nntp_config.c   2003/01/30 19:45:20     1.90
@@ -82,12 +82,12 @@
 #define NUL '\0'
 #endif
 
-static l2_result_t 
+static l2_result_t
 formatter_prefix(l2_context_t *_ctx, const char id, const char *param,
           char *bufptr, size_t bufsize, size_t *buflen, va_list *ap)
 {
     lmtp2nntp_t *ctx = (lmtp2nntp_t *)_ctx->vp;
-            
+
     if ((ctx->msg != NULL) && (ctx->msg->cpFid != NULL)) {
         sprintf(bufptr, "%s: ", ctx->msg->cpFid);
         *buflen = strlen(bufptr);
@@ -98,10 +98,10 @@
 }
 
 static var_syntax_t syntax_regex = {
-    '\\',         /* escape        */ 
-    '$',          /* varinit       */ 
-    '{',          /* startdelim    */ 
-    '}',          /* enddelim      */ 
+    '\\',         /* escape        */
+    '$',          /* varinit       */
+    '{',          /* startdelim    */
+    '}',          /* enddelim      */
     NUL,          /* startindex    */
     NUL,          /* endindex      */
     NUL,          /* current_index */
@@ -468,8 +468,8 @@
                 logbook(ctx->l2, L2_LEVEL_ERROR, "option --client, create address (internal) failed with \"%s\"", sa_error(sa_rc));
                 throw(0,0,0);
             }
-            if ((sa_rc = sa_addr_u2a(ctx->saaClientbind, 
-                                  (strchr(ov->data.s, ':') == NULL) ?  "inet://%s:0" : "inet://%s", 
+            if ((sa_rc = sa_addr_u2a(ctx->saaClientbind,
+                                  (strchr(ov->data.s, ':') == NULL) ?  "inet://%s:0" : "inet://%s",
                                   ov->data.s)) != SA_OK) {
                 logbook(ctx->l2, L2_LEVEL_ERROR, "option --client, parsing alternate IO guessing INET socket (%s) failed with \"%s\"", ov->data.s, sa_error(sa_rc));
                 throw(0,0,0);
@@ -582,7 +582,7 @@
                     hrNew->val       = NULL;
                     hrNew->pcreRegex = NULL;
                     hrNew->pcreExtra = NULL;
-                    
+
                     /* priority */
                     cpP = cp;
                     if ((cp = strchr(cp, ':')) == NULL) {
@@ -858,7 +858,7 @@
             || (ov->ndata >  1)
               ) throw(0,0,0);
         logbook(ctx->l2, L2_LEVEL_TRACE, "--timeoutlmtp= \"%s\"", ov->data.s);
- 
+
         if (ov->ndata == 1) {
             if ((i = atoi(ov->data.s)) < 0) {
                 logbook(ctx->l2, L2_LEVEL_ERROR, "option --timeoutlmtp, number (%d) out of range", i);


ossp-pkg/lmtp2nntp/lmtp2nntp_daemon.c 1.2 -> 1.3

--- lmtp2nntp_daemon.c   2003/01/30 19:42:13     1.2
+++ lmtp2nntp_daemon.c   2003/01/30 19:45:20     1.3
@@ -49,8 +49,8 @@
     int fd;
     int rc;
 
-    /* 
-     * if we are started from init, 
+    /*
+     * if we are started from init,
      * no need to become daemon.
      */
     if (getppid() == 1)
@@ -73,7 +73,7 @@
      * fork so the parent can exit, this returns control to the command line
      * or shell invoking your program. This step is required so that the new
      * process is guaranteed not to be a process group leader (The next step,
-     * setsid, would fail if you're a process group leader). 
+     * setsid, would fail if you're a process group leader).
      */
     rc = fork();
     switch (rc) {
@@ -86,7 +86,7 @@
      * setsid to become a process group and session group leader. Since a
      * controlling terminal is associated with a session, and this new session
      * has not yet acquired a controlling terminal our process now has no
-     * controlling terminal, which is a Good Thing for daemons. 
+     * controlling terminal, which is a Good Thing for daemons.
      */
 #ifdef HAVE_SETSID
     if (setsid() == -1)
@@ -97,7 +97,7 @@
 #ifndef _PATH_TTY
 #define _PATH_TTY "/dev/tty"
 #endif
-    if ((fd = open(_PATH_TTY, O_RDWR)) == -1) 
+    if ((fd = open(_PATH_TTY, O_RDWR)) == -1)
         return -1;
     ioctl(fd, TIOCNOTTY, NULL);
     close(fd);
@@ -106,7 +106,7 @@
     /*
      * fork again so the parent, (the session group leader), can exit. This
      * means that we, as a non-session group leader, can never regain a
-     * controlling terminal. 
+     * controlling terminal.
      */
     rc = fork();
     switch (rc) {
@@ -120,20 +120,20 @@
      * use. Failure to do this could make it so that an administrator couldn't
      * unmount a filesystem, because it was our current directory.
      * [Equivalently, we could change to any directory containing files
-     * important to the daemon's operation.] 
+     * important to the daemon's operation.]
      */
     chdir("/");
 
     /*
      * give us complete control over the permissions of anything we write. We
-     * don't know what umask we may have inherited.  [This step is optional] 
+     * don't know what umask we may have inherited.  [This step is optional]
      */
     umask(0);
 
     /*
      * close fds 0, 1, and 2. This releases the standard in, out, and error we
      * inherited from our parent process. We have no way of knowing where
-     * these fds might have been redirected to. 
+     * these fds might have been redirected to.
      */
     if ((fd = open("/dev/null", O_RDWR, 0)) != -1) {
         dup2(fd, STDIN_FILENO);


ossp-pkg/lmtp2nntp/lmtp2nntp_l2.c 1.5 -> 1.6

--- lmtp2nntp_l2.c       2003/01/30 19:42:13     1.5
+++ lmtp2nntp_l2.c       2003/01/30 19:45:20     1.6
@@ -45,7 +45,7 @@
         return L2_ERR_MEM;
 
     /* initialize configuration with reasonable defaults */
-    cfg->var = NULL; 
+    cfg->var = NULL;
 
     /* link private channel configuration into channel context */
     ctx->vp = cfg;


ossp-pkg/lmtp2nntp/lmtp2nntp_lmtp.c 1.3 -> 1.4

--- lmtp2nntp_lmtp.c     2003/01/30 19:42:13     1.3
+++ lmtp2nntp_lmtp.c     2003/01/30 19:45:20     1.4
@@ -88,7 +88,7 @@
     int i;
 
     for (i = 0; (i < LMTP_MAXVERBS) && (lmtp->dispatch[i] != NULL); i++)
-        if (strcasecmp(lmtp->dispatch[i]->verb, verb) == 0) 
+        if (strcasecmp(lmtp->dispatch[i]->verb, verb) == 0)
             return i;
     return -1;
 }
@@ -109,7 +109,7 @@
 {
     /*  create a lmtp structure allocating memory for it and initializing it.
      *  A lmtp_cb_default() callback is registered for the default "" verb.
-     *  The _rfd_ and _wfd_ args are passed to the read(), write() 
+     *  The _rfd_ and _wfd_ args are passed to the read(), write()
      *  functions and must have meaning for them. If _io_ is NULL,
      *  the system io functions are used. You can provide an _io_ structure
      *  and specify alternate functions. Ommiting one or more functions inside
@@ -118,10 +118,10 @@
      */
     lmtp_t *lmtp;
 
-    if ((lmtp = (lmtp_t *)malloc(sizeof(lmtp_t))) == NULL) 
+    if ((lmtp = (lmtp_t *)malloc(sizeof(lmtp_t))) == NULL)
         return NULL;
 
-    if (io == NULL) 
+    if (io == NULL)
         return NULL;
 
     lmtp->io.ctx    = io->ctx;
@@ -132,7 +132,7 @@
     lmtp->rl.rl_cnt = 0;
     lmtp->rl.rl_bufptr = NULL;
     lmtp->rl.rl_buf[0] = NUL;
-    
+
     if ((lmtp->dispatch = (lmtp_dispatch_t **)malloc(sizeof(void *)*LMTP_MAXVERBS)) == NULL)
         return NULL;
     lmtp->dispatch[0] = NULL;
@@ -192,7 +192,7 @@
 
     }
     buf[n] = NUL;          /* string termination */
-    if (n == (buflen-1)) 
+    if (n == (buflen-1))
         return LMTP_ERR_OVERFLOW;
     return LMTP_OK;
 }
@@ -232,12 +232,12 @@
     while (1) {
         rc = lmtp_readline(lmtp, cpPtr, nBuf-(cpPtr-cpBuf));
         if (rc == LMTP_ERR_OVERFLOW) {
-            if (nBuf == maxlen) 
+            if (nBuf == maxlen)
                 return LMTP_ERR_OVERFLOW;
             offset = nBuf-1;                    /* write cursor offset is end of buffer */
             offsetline = cpLine - cpBuf;        /* remember start of line offset */
             nBuf *= 2;                          /* increase buffer */
-            if (nBuf > maxlen) 
+            if (nBuf > maxlen)
                 nBuf = maxlen;                  /* but don't exceed maximum */
             if ((cpBufrealloc = (char *)realloc(cpBuf, nBuf)) == NULL) {
                 free(cpBuf);
@@ -266,10 +266,10 @@
 }
 
 lmtp_rc_t lmtp_request(lmtp_t *lmtp, lmtp_req_t *req)
-{  
+{
     /*  reads a line and attaches the buffer to req->msg;
      *  pulls the verb out and attaches the verb to req->verb;
-     * 
+     *
      *  LMTP_OK           req->msg set, req->verb set  means normal operation
      *  LMTP_OK           req->msg set, req->verb ""   means no verb seen
      *  LMTP_EOF          req->msg set, req->verb NULL means eof
@@ -295,7 +295,7 @@
         return rc;
     for (i = 0; (i < LMTP_MAXVERBS) && (lmtp->dispatch[i] != NULL); i++) {
         if ((verb = lmtp->dispatch[i]->verb) != NULL) {  /* skip NULL verb */
-            if ((verblen = strlen(verb)) == 0) 
+            if ((verblen = strlen(verb)) == 0)
                 continue; /* skip  ""  verb */
             if (   (strlen(req->msg) >= verblen)
                 && (strncasecmp(req->msg, verb, verblen) == 0)
@@ -411,9 +411,9 @@
 
     if (cb == NULL) { /* checking for existing callback only */
         i = verbindex(lmtp, verb);
-        if (oldcb  != NULL) 
+        if (oldcb  != NULL)
             *oldcb  = (i == -1) ? NULL : lmtp->dispatch[i]->cb;
-        if (oldctx != NULL) 
+        if (oldctx != NULL)
             *oldctx = (i == -1) ? NULL : lmtp->dispatch[i]->ctx;
         return LMTP_OK;
     }
@@ -421,24 +421,24 @@
     for (i = 0; lmtp->dispatch[i] != NULL; i++) {
         if (strcasecmp(verb, lmtp->dispatch[i]->verb) == 0) {
             overload = 1;
-            if (oldcb  != NULL) 
+            if (oldcb  != NULL)
                 *oldcb  = lmtp->dispatch[i]->cb;
-            if (oldctx != NULL) 
+            if (oldctx != NULL)
                 *oldctx = lmtp->dispatch[i]->ctx;
             break;
         }
     }
-    if (i > LMTP_MAXVERBS-2) 
+    if (i > LMTP_MAXVERBS-2)
         return LMTP_ERR_OVERFLOW;
 
     if (!overload) {
-        if ((lmtp->dispatch[i] = 
+        if ((lmtp->dispatch[i] =
             (lmtp_dispatch_t *)malloc(sizeof(lmtp_dispatch_t))) == NULL)
             return LMTP_ERR_MEM;
         lmtp->dispatch[i+1] = NULL;
-        if (oldcb  != NULL) 
+        if (oldcb  != NULL)
             *oldcb  = NULL;
-        if (oldctx != NULL) 
+        if (oldctx != NULL)
             *oldctx = NULL;
     }
 
@@ -471,7 +471,7 @@
     res.statuscode = "220";
     res.dsncode    = NULL;
     res.statusmsg  = "LMTP Service ready.";
-    if ((rc = lmtp_response(lmtp, &res)) != LMTP_OK) 
+    if ((rc = lmtp_response(lmtp, &res)) != LMTP_OK)
         return rc;
 
     while ((rc = lmtp_request(lmtp, &req)) == LMTP_OK) {
@@ -483,7 +483,7 @@
             req.verb = "";
             req.msg = NULL;
 
-            if (rc != LMTP_OK) 
+            if (rc != LMTP_OK)
                 break;
         }
     }


ossp-pkg/lmtp2nntp/lmtp2nntp_main.c 1.61 -> 1.62

--- lmtp2nntp_main.c     2003/01/30 19:42:13     1.61
+++ lmtp2nntp_main.c     2003/01/30 19:45:20     1.62
@@ -135,19 +135,19 @@
 }
 
 static var_syntax_t syntax_ctx = {
-    '\\',         /* escape        */ 
-    '$',          /* varinit       */ 
-    '{',          /* startdelim    */ 
-    '}',          /* enddelim      */ 
-    '[',          /* startindex    */ 
-    ']',          /* endindex      */ 
-    '#',          /* current_index */ 
-    "a-zA-Z0-9.-" /* namechars     */ 
+    '\\',         /* escape        */
+    '$',          /* varinit       */
+    '{',          /* startdelim    */
+    '}',          /* enddelim      */
+    '[',          /* startindex    */
+    ']',          /* endindex      */
+    '#',          /* current_index */
+    "a-zA-Z0-9.-" /* namechars     */
 };
 
 static var_rc_t ctx_lookup(
     var_t *var,
-    void *_ctx, 
+    void *_ctx,
     const char *var_ptr, size_t var_len, int var_idx,
     const char **val_ptr, size_t *val_len, size_t *val_size)
 {
@@ -419,7 +419,7 @@
     ctx->config_varregex = NULL;
     ctx->config_varctx = NULL;
     ctx->msgcount = 0;
-    
+
     /* private application context */
     if (val_create(&ctx->prival) != VAL_OK)
         CU(ERR_EXECUTION);
@@ -477,7 +477,7 @@
 
     if (getuid() != ctx->option_uid) {
         if (setuid(ctx->option_uid) == -1) {
-            fprintf(stderr, "%s:Error: Setting UID to %d failed: %s\n", 
+            fprintf(stderr, "%s:Error: Setting UID to %d failed: %s\n",
                     ctx->progname, ctx->option_uid, strerror(errno));
             CU(ERR_EXECUTION);
         }
@@ -532,7 +532,7 @@
          *  In order to make SMTP workable, the following minimum implementation
          *  is required for all receivers: [...]
          *  RFC0821, 4.1.2. COMMAND SYNTAX
-         *  
+         *
          *  Verb Parameter
          *  ----+-------------------------------
          *  HELO <SP> <domain> <CRLF>
@@ -543,7 +543,7 @@
          *  NOOP <CRLF>
          *  QUIT <CRLF>
          */
-        lmtp_register(lmtp, "LHLO", lmtp_cb_lhlo, ctx, NULL, NULL); 
+        lmtp_register(lmtp, "LHLO", lmtp_cb_lhlo, ctx, NULL, NULL);
         lmtp_register(lmtp, "MAIL", lmtp_cb_mail, ctx, NULL, NULL);
         lmtp_register(lmtp, "RCPT", lmtp_cb_rcpt, ctx, NULL, NULL);
         lmtp_register(lmtp, "DATA", lmtp_cb_data, ctx, NULL, NULL);
@@ -628,13 +628,13 @@
             if (bOk) {
                 char *cpA;
                 sa_addr_a2u(ctx->saaIO, &cpA);
-                logbook(ctx->l2, L2_LEVEL_TRACE, "connection from %s accepted due to ACL", cpA); 
+                logbook(ctx->l2, L2_LEVEL_TRACE, "connection from %s accepted due to ACL", cpA);
                 free(cpA);
             }
             else {
                 char *cpA;
                 sa_addr_a2u(ctx->saaIO, &cpA);
-                logbook(ctx->l2, L2_LEVEL_ERROR, "connection from %s refused due to ACL", cpA); 
+                logbook(ctx->l2, L2_LEVEL_ERROR, "connection from %s refused due to ACL", cpA);
                 free(cpA);
                 sa_destroy(ctx->saIO);
                 sa_addr_destroy(ctx->saaIO);
@@ -661,7 +661,7 @@
             /* child must close listening socket */
             sa_destroy(ctx->saServerbind);
             ctx->saServerbind = NULL; /* prevent cleanup from free'ing this again */
-            
+
             /* initialize LMTP context */
             lmtp_io.ctx    = ctx;
             lmtp_io.read   = hook_lmtp_read;
@@ -674,7 +674,7 @@
              *  In order to make SMTP workable, the following minimum implementation
              *  is required for all receivers: [...]
              *  RFC0821, 4.1.2. COMMAND SYNTAX
-             *  
+             *
              *  Verb Parameter
              *  ----+-------------------------------
              *  HELO <SP> <domain> <CRLF>
@@ -685,7 +685,7 @@
              *  NOOP <CRLF>
              *  QUIT <CRLF>
              */
-            lmtp_register(lmtp, "LHLO", lmtp_cb_lhlo, ctx, NULL, NULL); 
+            lmtp_register(lmtp, "LHLO", lmtp_cb_lhlo, ctx, NULL, NULL);
             lmtp_register(lmtp, "MAIL", lmtp_cb_mail, ctx, NULL, NULL);
             lmtp_register(lmtp, "RCPT", lmtp_cb_rcpt, ctx, NULL, NULL);
             lmtp_register(lmtp, "DATA", lmtp_cb_data, ctx, NULL, NULL);
@@ -749,13 +749,13 @@
 
 static lmtp_rc_t lmtp_cb_lhlo(lmtp_t *lmtp, lmtp_io_t *io, lmtp_req_t *req, void *_ctx)
 {
-    /*  
+    /*
      *  RFC0821 [excerpt] 4.1. SMTP COMMANDS
      *  4.1.1.  COMMAND SEMANTICS, HELO
      *  This command and an OK reply to it confirm that both the sender-SMTP
      *  and the receiver-SMTP are in the initial state, that is, there is no
      *  transaction in progress and all state tables and buffers are cleared.
-     * 
+     *
      *  The first command in a session must be the HELO command.  The HELO
      *  command may be used later in a session as well.  If the HELO command
      *  argument is not acceptable a 501 failure reply must be returned and
@@ -904,7 +904,7 @@
             CU(LMTP_OK);
         }
     }
-        
+
     ctx->session.lhlo_seen = TRUE;
 
     /*  RFC0821 4.2.1. REPLY CODES BY FUNCTION GROUPS   250 Requested mail action okay, completed
@@ -964,7 +964,7 @@
 {
     int rc;
 
-    rc = str_parse(msg, 
+    rc = str_parse(msg,
             "^.+ ("
     /*
      ##
@@ -973,7 +973,7 @@
      ##  because the given grammar is Chomsky-3 (right or left
      ##  linear grammar, but noth both).
      ##
-    
+
      # BNF grammar for <domain> according to RFC0821:
      # <snum>        ::= one, two, or three digits representing a decimal integer value in the range 0 through 255
      # <a>           ::= any one of the 52 alphabetic characters A through Z in upper case and a through z in lower case
@@ -1029,7 +1029,7 @@
 {
     int rc;
 
-    rc = str_parse(msg, 
+    rc = str_parse(msg,
             "^.+ ("
     /*
      ##
@@ -1112,7 +1112,7 @@
 
     /*  RFC0821 4.2.1. REPLY CODES BY FUNCTION GROUPS   452 Requested action not taken: insufficient system storage
      *  RFC1893 2. Status Codes                         4.X.X   Persistent Transient Failure
-     *  RFC1893 3.5 Network and Routing Status          X.3.1   Mail system full 
+     *  RFC1893 3.5 Network and Routing Status          X.3.1   Mail system full
      */
     logbook(ctx->l2, L2_LEVEL_TRACE, "msg_create");
     ctx->msgcount++;
@@ -1130,13 +1130,13 @@
      *  indicating whether a 7bit message [...] or a MIME message [...] is
      *  being sent. The syntax of the value is as follows, using the ABNF
      *  notation [...]
-     *  
+     *
      *  body-value ::= "7BIT" / "8BITMIME"
-     *  
+     *
      *  "MAIL From:<foo@bar>"
      *  "MAIL From:<foo@bar> BODY=8BITMIME"
      *  "MAIL From:<foo@bar> BODY=7BIT"
-     *  
+     *
      *  RFC0821 4.2.1. REPLY CODES BY FUNCTION GROUPS   553 Requested action not taken: mailbox name not allowed
      *  RFC1893 2. Status Codes                         5.X.X   Permanent Failure
      *  RFC1893 3.5 Network and Routing Status          X.1.7   Bad sender's mailbox address syntax
@@ -1154,14 +1154,14 @@
      */
     logbook(ctx->l2, L2_LEVEL_TRACE, "checking BODY keyword");
     if (str_parse(req->msg, "m/^MAIL From:\\s*<(.+@.+)>"
-                            "(?:\\s+BODY=(?:7BIT|8BITMIME)\\s*)?$/i", 
+                            "(?:\\s+BODY=(?:7BIT|8BITMIME)\\s*)?$/i",
                             &ctx->msg->mail_from) <= 0) {
         res.statuscode = "501";
         res.dsncode    = "5.5.4";
         res.statusmsg  = "Unknown parameter for keyword BODY.";
         CU(LMTP_OK);
     }
-    
+
     /*  RFC0821 4.2.1. REPLY CODES BY FUNCTION GROUPS   550 Requested action not taken: mailbox unavailable
      *  RFC1893 2. Status Codes                         5.X.X   Permanent Failure
      *  RFC1893 3.5 Network and Routing Status          X.7.1   Delivery not authorized, message refused
@@ -1229,7 +1229,7 @@
         res.statusmsg  = "Syntax error in parameters.";
         CU(LMTP_OK);
     }
-    
+
     /*  RFC0821 4.2.1. REPLY CODES BY FUNCTION GROUPS   550 Requested action not taken: mailbox unavailable
      *  RFC1893 2. Status Codes                         5.X.X   Permanent Failure
      *  RFC1893 3.5 Network and Routing Status          X.1.1   Bad destination mailbox address
@@ -1416,7 +1416,7 @@
         if ((cp = malloc(ctx->msg->asEnvgroups + 1)) == NULL) {
             /*  RFC0821 4.2.1. REPLY CODES BY FUNCTION GROUPS   452 Requested action not taken: insufficient system storage
              *  RFC1893 2. Status Codes                         4.X.X   Persistent Transient Failure
-             *  RFC1893 3.5 Network and Routing Status          X.3.1   Mail system full 
+             *  RFC1893 3.5 Network and Routing Status          X.3.1   Mail system full
              */
             ctx->msgcount++;
             if ((ctx->msg = msg_create(ctx->prival)) == NULL) {
@@ -1434,7 +1434,7 @@
         if ((cp = malloc(ctx->asGroupargs + 1)) == NULL) {
             /*  RFC0821 4.2.1. REPLY CODES BY FUNCTION GROUPS   452 Requested action not taken: insufficient system storage
              *  RFC1893 2. Status Codes                         4.X.X   Persistent Transient Failure
-             *  RFC1893 3.5 Network and Routing Status          X.3.1   Mail system full 
+             *  RFC1893 3.5 Network and Routing Status          X.3.1   Mail system full
              */
             ctx->msgcount++;
             if ((ctx->msg = msg_create(ctx->prival)) == NULL) {
@@ -1584,7 +1584,7 @@
                 break;
         }
     } else {
-        str_format(errorstring, sizeof(errorstring), "%sdelivery of %s [%d bytes]", 
+        str_format(errorstring, sizeof(errorstring), "%sdelivery of %s [%d bytes]",
                    ((ctx->option_operationmode == OPERATIONMODE_POST) ? "post " :
                    (ctx->option_operationmode == OPERATIONMODE_FEED) ? "feed " : ""),
                    ctx->msg->cpMsgid,
@@ -1645,16 +1645,16 @@
                 var_rc_t var_rc;
                 char *res_ptr;
                 size_t res_len;
-                str_format(errorstring, sizeof(errorstring), 
+                str_format(errorstring, sizeof(errorstring),
                            "${option.destination[%d]} returned %s\n"
                            "${option.destination[%d]} lastresp \"%s\"",
-                           i, nntp_error(ctx->pns[i].rc), 
+                           i, nntp_error(ctx->pns[i].rc),
                            i, nntp_lastresp(ctx->pns[i].nntp));
                 if ((var_rc = var_expand(ctx->config_varctx, errorstring, strlen(errorstring), &res_ptr, &res_len, FALSE)) != VAR_OK) {
-                    str_format(errorstring, sizeof(errorstring), 
+                    str_format(errorstring, sizeof(errorstring),
                                "destination[%d] returned %s\n"
                                "destination[%d] lastresp \"%s\"",
-                               i, nntp_error(ctx->pns[i].rc), 
+                               i, nntp_error(ctx->pns[i].rc),
                                i, nntp_lastresp(ctx->pns[i].nntp));
                 }
                 else {


ossp-pkg/lmtp2nntp/lmtp2nntp_msg.c 1.32 -> 1.33

--- lmtp2nntp_msg.c      2003/01/30 19:42:13     1.32
+++ lmtp2nntp_msg.c      2003/01/30 19:45:20     1.33
@@ -134,7 +134,7 @@
      *
      * msg->cpMsg
      * free()d and set to NULL
-     * 
+     *
      * msg->azHeaders, msg->asHeaders contains the headers in argz format, one
      * logical NUL-terminated line per header which might be wrapped into
      * multiple '\n'-ended physical lines. The "From " envelope, "Received:",
@@ -539,7 +539,7 @@
 }
 
 static var_rc_t regex_lookup(
-    var_t *var, void *_ctx, 
+    var_t *var, void *_ctx,
     const char *var_ptr, size_t var_len, int var_idx,
     const char **val_ptr, size_t *val_len, size_t *val_size)
 {
@@ -639,7 +639,7 @@
     if (op_len == 15 && strncmp(op_ptr, "createmessageid", 15) == 0) {
         return createmessageid(prival, arg_ptr, arg_len, val_ptr, val_len, out_ptr, out_len, out_size);
     }
-    else 
+    else
         return VAR_ERR_UNDEFINED_OPERATION;
 }
 
@@ -784,7 +784,7 @@
         }
     }
 #endif
-    
+
     regex_ctx = (regex_ctx_t *)mallocex(sizeof(regex_ctx_t));
     regex_ctx->nMatch = 0;
     regex_ctx->acpMatch = NULL;


ossp-pkg/lmtp2nntp/lmtp2nntp_nntp.c 1.3 -> 1.4

--- lmtp2nntp_nntp.c     2003/01/30 19:42:13     1.3
+++ lmtp2nntp_nntp.c     2003/01/30 19:45:20     1.4
@@ -66,7 +66,7 @@
 
 struct nntp_st {
     nntp_io_t       io;
-    nntp_readline_t rl; 
+    nntp_readline_t rl;
     struct timeval  tv;
     int             kludgeinn441dup;
     char           *lastresp;
@@ -88,10 +88,10 @@
 {
     nntp_t *nntp;
 
-    if ((nntp = (nntp_t *)malloc(sizeof(nntp_t))) == NULL) 
+    if ((nntp = (nntp_t *)malloc(sizeof(nntp_t))) == NULL)
         return NULL;
 
-    if (io == NULL) 
+    if (io == NULL)
         return NULL;
     nntp->io.ctx    = io->ctx;
     nntp->io.read   = io->read;
@@ -109,7 +109,7 @@
 {
     nntp_rc_t rc;
     char line[NNTP_LINE_MAXLEN];
-  
+
     /* RFC0977 2.4.3. General Responses
      * In general, 1xx codes may be ignored or displayed as desired;  code 200
      * or 201 is sent upon initial connection to the NNTP server depending
@@ -204,7 +204,7 @@
 
     }
     buf[n] = NUL;          /* string termination */
-    if (n == (buflen-1)) 
+    if (n == (buflen-1))
         return NNTP_ERR_OVERFLOW;
     return NNTP_OK;
 }
@@ -228,7 +228,7 @@
     char line[NNTP_LINE_MAXLEN];
 
     /*  RFC2980
-     *   
+     *
      *  2.3 MODE READER
      *  MODE READER is used by the client to indicate to the server that it is
      *  a news reading client.  Some implementations make use of this
@@ -236,13 +236,13 @@
      *  responding to news reader commands.  This command can be contrasted
      *  with the SLAVE command in RFC0977, which was not widely implemented.
      *  MODE READER was first available in INN.
-     *  
+     *
      *  2.3.1 Responses
      *  200 Hello, you can post
      *  201 Hello, you can't post
-     *  
+     *
      *  Research:
-     *  
+     *
      *  < 200 dev16 InterNetNews server INN 2.3.2 ready
      *  > POST
      *  < 500 "post" not implemented; try "help".
@@ -250,7 +250,7 @@
      *  < 200 dev16 InterNetNews NNRP server INN 2.3.2 ready (posting ok).
      *  > POST
      *  < 340 Ok, recommended ID <...>
-     *  
+     *
      *  In other words, INN *requires* the use of "MODE READER". This has been
      *  verified when INN is configured for expecting both news readers and
      *  feeders from a given source address. When INN is configured to expect
@@ -301,14 +301,14 @@
      *  > Newsgroups: ...
      *  > Message-ID: <...>
      *  > [additional headers]
-     *  > 
+     *  >
      *  > [body with dots escaped]
      *  > .
      *  < 240 ok, thank you
      *  < 441 duplicate (ok for us)
-     *  
+     *
      *  Research:
-     *  
+     *
      *  < 200 dev16 InterNetNews server INN 2.3.2 ready
      *  > POST
      *  [...]
@@ -319,7 +319,7 @@
      *  441 Required "Subject" header is missing
      *  441 Obsolete "Received" header
      *  441 Line # too long
-     *  
+     *
      *  In other words, INN uses 441 for other status messages as well.
      */
     *line = NUL;
@@ -370,7 +370,7 @@
      *  < 435 article not wanted - do not send it
      *  < 436 transfer failed - try again later
      *  < 437 article rejected - do not try again
-     *  
+     *
      *  Research:
      *  < 200 dev16 InterNetNews server INN 2.3.2 ready
      *  > IHAVE <messageid>


ossp-pkg/lmtp2nntp/lmtp2nntp_option.c 1.22 -> 1.23

--- lmtp2nntp_option.c   2003/01/30 19:42:13     1.22
+++ lmtp2nntp_option.c   2003/01/30 19:45:20     1.23
@@ -135,7 +135,7 @@
         optionval_t *oc;
     } v;
     ex_t ex;
-    
+
     v.oc = NULL;
     try {
         if (o == NULL || longname == NULL)
@@ -221,7 +221,7 @@
             o->last  = v.oc;
         }
         else {
-            o->last->next = v.oc; 
+            o->last->next = v.oc;
             o->last       = v.oc;
         }
     }


ossp-pkg/lmtp2nntp/lmtp2nntp_shpat.c 1.3 -> 1.4

--- lmtp2nntp_shpat.c    2003/01/30 19:42:13     1.3
+++ lmtp2nntp_shpat.c    2003/01/30 19:45:20     1.4
@@ -254,8 +254,8 @@
     return (ok == negate ? RANGE_NOMATCH : RANGE_MATCH);
 }
 
-/* 
- * This function returns non-zero if pattern 
+/*
+ * This function returns non-zero if pattern
  * contains any glob chars. Borrowed from Apache.
  */
 int shpat_match_hasglobchar(const char *pattern)


ossp-pkg/lmtp2nntp/test.sh 1.14 -> 1.15

--- test.sh      2003/01/30 19:18:57     1.14
+++ test.sh      2003/01/30 19:45:20     1.15
@@ -16,10 +16,10 @@
 Message-Id: <200108141251.f7ECpmn74812@dev.de.cw.net>
 From: Thomas Lotterer <Thomas.Lotterer@example.com>
 Received: from cw.example.com (cw.example.com [10.1.1.32])
-    by gateway.example.com (8.9.2/8.9.2/$Revision: 1.14 $) with SMTP id NAA08840
+    by gateway.example.com (8.9.2/8.9.2/$Revision: 1.15 $) with SMTP id NAA08840
     for <thomas.lotterer@gateway.example.com>; Mon, 2 Apr 2001 13:20:25 +0200 (MET DST)
 Received: from history (history.example.org [195.143.102.41])
-    by cw.example.com (8.11.0/8.11.0/$Revision: 1.14 $) with ESMTP id f32BKPb12235
+    by cw.example.com (8.11.0/8.11.0/$Revision: 1.15 $) with ESMTP id f32BKPb12235
     for <thomas.lotterer@example.com>; Mon, 2 Apr 2001 13:20:25 +0200
 Received: from example.org (littlemua.example.org [195.143.103.160])
         by history (8.8.8/8.8.8) with ESMTP id LAA12678;
@@ -79,7 +79,7 @@
 
  L2CONF="${PREFIX}logspec"
  L2FILE="${PREFIX}log"
- L2SPEC="'debug: prefix(prefix=\"%b %d %H:%M:%S <%L> lmtp2nntp[%P]: \",timezone=local) -> file(path=\"${L2FILE}\",append=0,perm=432)'" 
+ L2SPEC="'debug: prefix(prefix=\"%b %d %H:%M:%S <%L> lmtp2nntp[%P]: \",timezone=local) -> file(path=\"${L2FILE}\",append=0,perm=432)'"
  echo >${L2CONF} "l2spec ${L2SPEC}"
     LOG="-i ${L2CONF}"
 

CVSTrac 2.0.1