projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Activated default sequence negation (exclamation mark).
[mmh]
/
sbr
/
seq_list.c
diff --git
a/sbr/seq_list.c
b/sbr/seq_list.c
index
87c5d04
..
1e2e606
100644
(file)
--- a/
sbr/seq_list.c
+++ b/
sbr/seq_list.c
@@
-27,7
+27,7
@@
seq_list(struct msgs *mp, char *seqname)
/* On first invocation, allocate initial buffer space */
if (!buffer) {
len = MAXBUFFER;
/* On first invocation, allocate initial buffer space */
if (!buffer) {
len = MAXBUFFER;
- buffer = mh_xmalloc ((size_t) len);
+ buffer = mh_xmalloc((size_t) len);
}
/*
}
/*
@@
-36,7
+36,7
@@
seq_list(struct msgs *mp, char *seqname)
** This is returned, even if message doesn't exist or the
** folder is empty.
*/
** This is returned, even if message doesn't exist or the
** folder is empty.
*/
- if (!strcmp (current, seqname)) {
+ if (!strcmp(current, seqname)) {
if (mp->curmsg) {
sprintf(buffer, "%s", m_name(mp->curmsg));
return (buffer);
if (mp->curmsg) {
sprintf(buffer, "%s", m_name(mp->curmsg));
return (buffer);
@@
-49,7
+49,7
@@
seq_list(struct msgs *mp, char *seqname)
return NULL;
/* Get the index of the sequence */
return NULL;
/* Get the index of the sequence */
- if ((seqnum = seq_getnum (mp, seqname)) == -1)
+ if ((seqnum = seq_getnum(mp, seqname)) == -1)
return NULL;
bp = buffer;
return NULL;
bp = buffer;
@@
-72,7
+72,7
@@
seq_list(struct msgs *mp, char *seqname)
char *newbuf;
len += MAXBUFFER;
char *newbuf;
len += MAXBUFFER;
- newbuf = mh_xrealloc (buffer, (size_t) len);
+ newbuf = mh_xrealloc(buffer, (size_t) len);
bp = newbuf + (bp - buffer);
buffer = newbuf;
}
bp = newbuf + (bp - buffer);
buffer = newbuf;
}