projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* uip/sendsbr.c: with attachformat values of 1 or 2, only
[mmh]
/
uip
/
picksbr.c
diff --git
a/uip/picksbr.c
b/uip/picksbr.c
index
71ae644
..
a7276d7
100644
(file)
--- a/
uip/picksbr.c
+++ b/
uip/picksbr.c
@@
-12,6
+12,7
@@
#include <h/mh.h>
#include <h/tws.h>
#include <h/picksbr.h>
#include <h/mh.h>
#include <h/tws.h>
#include <h/picksbr.h>
+#include <h/utils.h>
#ifdef TIME_WITH_SYS_TIME
# include <sys/time.h>
#ifdef TIME_WITH_SYS_TIME
# include <sys/time.h>
@@
-868,19
+869,19
@@
tws_special (char *ap)
register struct tws *tw;
time (&clock);
register struct tws *tw;
time (&clock);
- if (!strcasecmp (ap, "today"))
+ if (!mh_strcasecmp (ap, "today"))
return dlocaltime (&clock);
return dlocaltime (&clock);
- if (!strcasecmp (ap, "yesterday")) {
+ if (!mh_strcasecmp (ap, "yesterday")) {
clock -= (long) (60 * 60 * 24);
return dlocaltime (&clock);
}
clock -= (long) (60 * 60 * 24);
return dlocaltime (&clock);
}
- if (!strcasecmp (ap, "tomorrow")) {
+ if (!mh_strcasecmp (ap, "tomorrow")) {
clock += (long) (60 * 60 * 24);
return dlocaltime (&clock);
}
for (i = 0; tw_ldotw[i]; i++)
clock += (long) (60 * 60 * 24);
return dlocaltime (&clock);
}
for (i = 0; tw_ldotw[i]; i++)
- if (!strcasecmp (ap, tw_ldotw[i]))
+ if (!mh_strcasecmp (ap, tw_ldotw[i]))
break;
if (tw_ldotw[i]) {
if ((tw = dlocaltime (&clock)) == NULL)
break;
if (tw_ldotw[i]) {
if ((tw = dlocaltime (&clock)) == NULL)
@@
-921,7
+922,7
@@
plist
state = m_getfld (state, name, buf, sizeof buf, fp);
bp = add (buf, bp);
}
state = m_getfld (state, name, buf, sizeof buf, fp);
bp = add (buf, bp);
}
- if (!strcasecmp (name, n->n_datef))
+ if (!mh_strcasecmp (name, n->n_datef))
break;
if (state != FLDEOF)
continue;
break;
if (state != FLDEOF)
continue;