projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
pgpmicalg.c
diff --git
a/pgpmicalg.c
b/pgpmicalg.c
index
344eba5
..
db7056a
100644
(file)
--- a/
pgpmicalg.c
+++ b/
pgpmicalg.c
@@
-16,6
+16,7
@@
#endif
#include "mutt.h"
#endif
#include "mutt.h"
+#include "handler.h"
#include "pgp.h"
#include "pgppacket.h"
#include "mime.h"
#include "pgp.h"
#include "pgppacket.h"
#include "mime.h"
@@
-58,8
+59,8
@@
static const char *pgp_hash_to_micalg (short id)
static void pgp_dearmor (FILE * in, FILE * out)
{
char line[HUGE_STRING];
static void pgp_dearmor (FILE * in, FILE * out)
{
char line[HUGE_STRING];
-
long
start;
-
long
end;
+
LOFF_T
start;
+
LOFF_T
end;
char *r;
STATE state;
char *r;
STATE state;
@@
-92,7
+93,7
@@
static void pgp_dearmor (FILE * in, FILE * out)
}
/* actual data starts here */
}
/* actual data starts here */
- start = ftell (in);
+ start = ftell
o
(in);
/* find the checksum */
/* find the checksum */
@@
-105,12
+106,12
@@
static void pgp_dearmor (FILE * in, FILE * out)
return;
}
return;
}
- if ((end = ftell (in) - str_len (line)) < start) {
+ if ((end = ftell
o
(in) - str_len (line)) < start) {
debug_print (1, ("end < start???\n"));
return;
}
debug_print (1, ("end < start???\n"));
return;
}
- if (fseek (in, start, SEEK_SET) == -1) {
+ if (fseek
o
(in, start, SEEK_SET) == -1) {
debug_print (1, ("Can't seekto start.\n"));
return;
}
debug_print (1, ("Can't seekto start.\n"));
return;
}