projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed some dead code, all inside #if 0's. I tried to not remove
[mmh]
/
uip
/
slocal.c
diff --git
a/uip/slocal.c
b/uip/slocal.c
index
80620a7
..
869fa17
100644
(file)
--- a/
uip/slocal.c
+++ b/
uip/slocal.c
@@
-222,8
+222,7
@@
main (int argc, char **argv)
adios (NULL, "-%s unknown", cp);
case HELPSW:
adios (NULL, "-%s unknown", cp);
case HELPSW:
- snprintf (buf, sizeof(buf),
- "%s [switches] [address info sender]", invo_name);
+ snprintf (buf, sizeof(buf), "%s [switches]", invo_name);
print_help (buf, switches, 0);
done (0);
case VERSIONSW:
print_help (buf, switches, 0);
done (0);
case VERSIONSW:
@@
-284,20
+283,8
@@
main (int argc, char **argv)
debug++;
continue;
}
debug++;
continue;
}
- }
-
- switch (argp - (argv + 1)) {
- case 1:
- addr = cp;
- break;
-
- case 2:
- info = cp;
- break;
-
- case 3:
- sender = cp;
- break;
+ } else {
+ adios (NULL, "only switch arguments are supported");
}
}
}
}
@@
-1057,18
+1044,6
@@
usr_folder (int fd, char *string)
/* use rcvstore to put message in folder */
status = usr_pipe (fd, "rcvstore", rcvstoreproc, vec, 1);
/* use rcvstore to put message in folder */
status = usr_pipe (fd, "rcvstore", rcvstoreproc, vec, 1);
-#if 0
- /*
- * Currently, verbose status messages are handled by usr_pipe().
- */
- if (verbose) {
- if (status == 0)
- verbose_printf (", success.\n");
- else
- verbose_printf (", failed.\n");
- }
-#endif
-
return status;
}
return status;
}
@@
-1290,13
+1265,6
@@
you_lose:
/* get copy of envelope information ("From " line) */
envelope = getcpy (buffer);
/* get copy of envelope information ("From " line) */
envelope = getcpy (buffer);
-#if 0
- /* First go ahead and put "From " line in message */
- fputs (buffer, ffp);
- if (ferror (ffp))
- goto fputs_error;
-#endif
-
/* Put the delivery date in message */
fputs (ddate, ffp);
if (ferror (ffp))
/* Put the delivery date in message */
fputs (ddate, ffp);
if (ferror (ffp))