OSSP CVS Repository

ossp - Difference in ossp-pkg/lmtp2nntp/lmtp2nntp_main.c versions 1.29 and 1.30
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/lmtp2nntp/lmtp2nntp_main.c 1.29 -> 1.30

--- lmtp2nntp_main.c     2002/01/31 15:59:53     1.29
+++ lmtp2nntp_main.c     2002/01/31 16:01:01     1.30
@@ -188,44 +188,6 @@
 static void lmtp_gfs_rset(lmtp2nntp_t *);
 static void lmtp_gfs_quit(lmtp2nntp_t *);
 
-/*
- * print usage information
- */
-static void usage(char *command)
-{
-    /*  use
-     *  perl <lmtp2nntp.c -e 'while (<>) { if(m/\/\*POD (.*) .*\*\//) { $_=$1; s/.<(.*?)>/$1/g ; print "\"$_ \"\n" };}'
-     *  to pull the USAGE string out of this source
-     */
-    fprintf(stderr, 
-            "USAGE: %s "
-            "[-C childsmax] "
-            "[-D] "
-            "[-K] "
-            "[-P pidfile] "
-            "[-V] "
-            "[-a addr/mask[,addr/mask[,...]] "
-            "[-b addr[:port]|-|path[:perms]] "
-            "[-c addr[:port]] "
-            "[-d addr[:port][,addr[:port], ...]] "
-            "[-f configfile] "
-            "[-g groupmode] "
-            "[-h header:value] "
-            "[-l level[:logfile]] "
-            "[-m mailfrom] "
-            "[-n nodename] "
-            "[-o operationmode] "
-            "[-r restrictheader] "
-            "[-s size] "
-            "[-t name=sec[,name=sec[,...]] "
-            "[-u uid] "
-            "[-v] "
-            "newsgroup [newsgroup ...] "
-            "\n",
-            command);
-    return;
-}
-
 static ssize_t hook_lmtp_read(void *_ctx, void *buf, size_t nbytes)
 {
     lmtp2nntp_t *ctx = (lmtp2nntp_t *)_ctx;

CVSTrac 2.0.1