projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensured clean uninstall.
[mmh]
/
uip
/
scansbr.c
diff --git
a/uip/scansbr.c
b/uip/scansbr.c
index
1c68bc2
..
fdfe4cd
100644
(file)
--- a/
uip/scansbr.c
+++ b/
uip/scansbr.c
@@
-67,8
+67,8
@@
int sc_width(void); /* from termsbr.c */
#endif
int
#endif
int
-scan(FILE *inb, int innum, int outnum, char *nfs, int width, int curflg,
- int unseen, int noisy)
+scan(FILE *inb, int innum, int outnum, char *fmtstr, int width, int curflg,
+ int unseen)
{
int i, compnum, state;
unsigned char *cp, *tmpbuf;
{
int i, compnum, state;
unsigned char *cp, *tmpbuf;
@@
-101,7
+101,7
@@
scan(FILE *inb, int innum, int outnum, char *nfs, int width, int curflg,
umask(~m_gmprot());
/* Compile format string */
umask(~m_gmprot());
/* Compile format string */
- ncomps = fmt_compile(nfs, &fmt) + 1;
+ ncomps = fmt_compile(fmtstr, &fmt) + 1;
FINDCOMP(bodycomp, "body");
FINDCOMP(datecomp, "date");
FINDCOMP(bodycomp, "body");
FINDCOMP(datecomp, "date");
@@
-328,7
+328,7
@@
finished:
if (bodycomp)
bodycomp->c_text = saved_c_text;
if (bodycomp)
bodycomp->c_text = saved_c_text;
- if (noisy)
+ if (fmtstr)
fputs(scanl, stdout);
/* return dynamically allocated buffers to pool */
fputs(scanl, stdout);
/* return dynamically allocated buffers to pool */