projects
/
mymail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
592f082
)
Cosmetics.
author
Francois Fleuret
<francois@fleuret.org>
Tue, 12 Feb 2013 18:01:12 +0000
(19:01 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Tue, 12 Feb 2013 18:01:12 +0000
(19:01 +0100)
mymail.c
patch
|
blob
|
history
diff --git
a/mymail.c
b/mymail.c
index
ef6e5c1
..
325562e
100644
(file)
--- a/
mymail.c
+++ b/
mymail.c
@@
-55,14
+55,14
@@
#define LEADING_FROM_LINE_REGEXP_STRING "^From [^ ]* \\(Mon\\|Tue\\|Wed\\|Thu\\|Fri\\|Sat\\|Sun\\) \\(Jan\\|Feb\\|Mar\\|Apr\\|May\\|Jun\\|Jul\\|Aug\\|Sep\\|Oct\\|Nov\\|Dec\\) [ 123][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [0-9][0-9][0-9][0-9]\n$"
#define LEADING_FROM_LINE_REGEXP_STRING "^From [^ ]* \\(Mon\\|Tue\\|Wed\\|Thu\\|Fri\\|Sat\\|Sun\\) \\(Jan\\|Feb\\|Mar\\|Apr\\|May\\|Jun\\|Jul\\|Aug\\|Sep\\|Oct\\|Nov\\|Dec\\) [ 123][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [0-9][0-9][0-9][0-9]\n$"
-regex_t leading_from_line_regexp;
-
/* Global variables! */
int paranoid;
int quiet;
int ignore_dot_files;
/* Global variables! */
int paranoid;
int quiet;
int ignore_dot_files;
+regex_t leading_from_line_regexp;
+
/********************************************************************/
enum {
/********************************************************************/
enum {
@@
-183,7
+183,6
@@
char *default_value(char *current_value,
FILE *safe_fopen(const char *path, const char *mode, const char *comment) {
FILE *result = fopen(path, mode);
FILE *safe_fopen(const char *path, const char *mode, const char *comment) {
FILE *result = fopen(path, mode);
- /* printf("Opening '%s' with mode \"%s\"\n", path, mode); */
if(result) {
return result;
} else {
if(result) {
return result;
} else {