Jeremy Sowden
c4eb6d91d2
wmail: handle allocation failures.
...
Check the return values of some invocations of malloc and strdup and
ensure that any NULL's are handled correctly.
2019-06-21 12:28:08 +01:00
Jeremy Sowden
dbc178ec3f
wmail: fixed possible NULL-pointer dereference in config-parser.
...
The code calling Tokenize assumed that if it returned true, value would
not be NULL. However, in the case of a line containing no equals sign:
blah
that would not be the case. Changed Tokenize to return false unless id
and value are both defined.
2019-06-21 12:28:08 +01:00
Jeremy Sowden
68baa67992
wmail: formatting improvements.
2019-06-21 12:28:08 +01:00
Jeremy Sowden
98872a4c14
wmail: fixed config typo.
...
The old spelling is still supported.
2019-06-21 12:28:08 +01:00
Jeremy Sowden
0360aff8e8
wmail: use realloc(3) and handle allocation failures.
2019-06-12 23:48:04 +01:00
Jeremy Sowden
0fb61f1e49
wmail: fixed memory leaks in skip-names.
2019-06-12 23:48:04 +01:00
Jeremy Sowden
6e48b4a431
wmail: added command-line option to specify a different config-file.
2019-06-12 23:48:04 +01:00
Jeremy Sowden
8f7f9881a0
wmail: removed hard-coded string lengths.
2019-06-12 23:48:04 +01:00
Jeremy Sowden
d969ee2ca6
wmail: use continues rather than if-else chain to improve readability.
2019-06-12 23:48:04 +01:00
Jeremy Sowden
7e3cb9cbe4
wmail: removed hard-coded buffer size.
2019-06-12 23:48:04 +01:00
Jeremy Sowden
dff64f3b71
wmail: use stdbool.h if available.
2019-06-12 23:48:04 +01:00
Jeremy Sowden
24ce08f47c
wmail: more version and copyright updates.
2019-06-12 23:48:04 +01:00
Jeremy Sowden
d808c1e21a
wmail: use designated initializers to define config.
2019-06-07 10:53:48 +01:00
Jeremy Sowden
7f0d8d12e2
wmail: strcasecmp and strncasecmp are properly declared in strings.h.
2019-06-07 10:53:48 +01:00
Jeremy Sowden
71c126d20e
wmail: white-space fixes.
2019-06-07 10:53:48 +01:00
Jeremy Sowden
be89c2a7a0
wmail: strlen returns size_t.
2019-06-07 10:53:48 +01:00
Jeremy Sowden
d5312c3133
wmail: use AC_CONFIG_HEADERS to generate config.h.
2019-06-07 10:53:48 +01:00
Jeremy Sowden
254328761e
wmail: add static to declarations of lots of variables and functions.
2019-05-28 11:07:22 +01:00
Jeremy Sowden
e4760eb90f
wmail: fix prototypes of functions accepting no parameters.
2019-05-28 11:07:22 +01:00
Jeremy Sowden
9f0821af1f
wmail: fix memory leaks.
2019-05-28 11:07:22 +01:00
Jeremy Sowden
a8261ff053
wmail: handle allocation failures.
2019-05-28 11:07:22 +01:00
Jeremy Sowden
adf1164fba
wmail: consistent 4-column indentation with 8-character tabs.
2019-05-28 11:07:22 +01:00
Doug Torrance
1b4708cb92
Remove trailing whitespace in recently added dockapps.
2016-12-24 12:32:17 +00:00
Doug Torrance
409aca138d
wmail: Add version 2.0 to repository.
...
From
http://http.debian.net/debian/pool/main/w/wmail/wmail_2.0.orig.tar.gz
2016-11-28 09:00:36 +00:00