projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rearranged code in the file.
[mmh]
/
uip
/
forw.c
diff --git
a/uip/forw.c
b/uip/forw.c
index
9ad2877
..
13aaaa9
100644
(file)
--- a/
uip/forw.c
+++ b/
uip/forw.c
@@
-109,7
+109,7
@@
main(int argc, char **argv)
#ifdef LOCALE
setlocale(LC_ALL, "");
#endif
#ifdef LOCALE
setlocale(LC_ALL, "");
#endif
- invo_name = r1bindex(argv[0], '/');
+ invo_name = mhbasename(argv[0]);
/* read user profile/context */
context_read();
/* read user profile/context */
context_read();
@@
-385,7
+385,7
@@
mhl_draft(int out, char *digest, int volume, int issue,
if (pipe(pd) == NOTOK)
adios("pipe", "unable to create");
if (pipe(pd) == NOTOK)
adios("pipe", "unable to create");
- vec[0] = r1bindex(mhlproc, '/');
+ vec[0] = mhbasename(mhlproc);
for (i = 0; (child_id = fork()) == NOTOK && i < 5; i++)
sleep(5);
for (i = 0; (child_id = fork()) == NOTOK && i < 5; i++)
sleep(5);