projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add autoconf magic to support old systems that don't support multibyte charsets
[mmh]
/
uip
/
show.c
diff --git
a/uip/show.c
b/uip/show.c
index
7927ac5
..
b068d49
100644
(file)
--- a/
uip/show.c
+++ b/
uip/show.c
@@
-3,10
+3,15
@@
* show.c -- show/list messages
*
* $Id$
* show.c -- show/list messages
*
* $Id$
+ *
+ * This code is Copyright (c) 2002, by the authors of nmh. See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
*/
#include <h/mh.h>
#include <h/mime.h>
*/
#include <h/mh.h>
#include <h/mime.h>
+#include <h/utils.h>
static struct swit switches[] = {
#define CHECKMIMESW 0
static struct swit switches[] = {
#define CHECKMIMESW 0
@@
-49,6
+54,9
@@
static struct swit switches[] = {
*/
static int is_nontext(char *);
*/
static int is_nontext(char *);
+/* prototype from mhlsbr.c */
+int mhl (int, char **);
+
#define SHOW 0
#define NEXT 1
#define PREV 2
#define SHOW 0
#define NEXT 1
#define PREV 2
@@
-467,7
+475,7
@@
invalid:
*bp = '\0';
} else {
for (bp = dp; *bp; bp++)
*bp = '\0';
} else {
for (bp = dp; *bp; bp++)
- if (isspace (*bp)) {
+ if (!istoken (*bp)) {
*bp = '\0';
break;
}
*bp = '\0';
break;
}