projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed the -width switch from send, spost and repl.
[mmh]
/
uip
/
mhshowsbr.c
diff --git
a/uip/mhshowsbr.c
b/uip/mhshowsbr.c
index
0136ca3
..
ee401a7
100644
(file)
--- a/
uip/mhshowsbr.c
+++ b/
uip/mhshowsbr.c
@@
-110,7
+110,7
@@
show_all_messages(CT *cts)
/*
** If form is "mhl.null", suppress display of header.
*/
/*
** If form is "mhl.null", suppress display of header.
*/
- if (!strcmp(formsw, "mhl.null"))
+ if (strcmp(formsw, "mhl.null")==0)
formsw = NULL;
for (ctp = cts; *ctp; ctp++) {
formsw = NULL;
for (ctp = cts; *ctp; ctp++) {
@@
-220,7
+220,7
@@
DisplayMsgHeader(CT ct, char *form)
fflush(stdout);
fflush(stdout);
- for (i = 0; (child_id = vfork()) == NOTOK && i < 5; i++)
+ for (i = 0; (child_id = fork()) == NOTOK && i < 5; i++)
sleep(5);
switch (child_id) {
sleep(5);
switch (child_id) {
@@
-348,7
+348,7
@@
show_content_aux(CT ct, int serial, int alternate, char *cp, char *cracked)
file = NULL;
if ((fd = (*ct->c_ceopenfnx) (ct, &file)) == NOTOK)
return NOTOK;
file = NULL;
if ((fd = (*ct->c_ceopenfnx) (ct, &file)) == NOTOK)
return NOTOK;
- if (ct->c_showproc && !strcmp(ct->c_showproc, "true"))
+ if (ct->c_showproc && strcmp(ct->c_showproc, "true")==0)
return (alternate ? DONE : OK);
xlist = 0;
return (alternate ? DONE : OK);
xlist = 0;
@@
-602,7
+602,7
@@
show_content_aux2(CT ct, int serial, int alternate, char *cracked,
fflush(stdout);
fflush(stdout);
- for (i = 0; (child_id = vfork()) == NOTOK && i < 5; i++)
+ for (i = 0; (child_id = fork()) == NOTOK && i < 5; i++)
sleep(5);
switch (child_id) {
case NOTOK:
sleep(5);
switch (child_id) {
case NOTOK:
@@
-884,7
+884,7
@@
show_multi_aux(CT ct, int serial, int alternate, char *cp)
/* I'm not sure if this is necessary? */
p->c_storage = getcpy(file);
/* I'm not sure if this is necessary? */
p->c_storage = getcpy(file);
- if (p->c_showproc && !strcmp(p->c_showproc, "true"))
+ if (p->c_showproc && strcmp(p->c_showproc, "true")==0)
return (alternate ? DONE : OK);
(*p->c_ceclosefnx) (p);
}
return (alternate ? DONE : OK);
(*p->c_ceclosefnx) (p);
}