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]
/
pgppacket.c
diff --git
a/pgppacket.c
b/pgppacket.c
index
206f13c
..
f43f516
100644
(file)
--- a/
pgppacket.c
+++ b/
pgppacket.c
@@
-57,12
+57,12
@@
static int read_material (size_t material, size_t * used, FILE * fp)
unsigned char *pgp_read_packet (FILE * fp, size_t * len)
{
size_t used = 0;
unsigned char *pgp_read_packet (FILE * fp, size_t * len)
{
size_t used = 0;
-
long
startpos;
+
LOFF_T
startpos;
unsigned char ctb;
unsigned char b;
size_t material;
unsigned char ctb;
unsigned char b;
size_t material;
- startpos = ftell (fp);
+ startpos = ftell
o
(fp);
if (!plen) {
plen = CHUNKSIZE;
if (!plen) {
plen = CHUNKSIZE;
@@
-193,7
+193,7
@@
unsigned char *pgp_read_packet (FILE * fp, size_t * len)
bail:
bail:
- fseek (fp, startpos, SEEK_SET);
+ fseek
o
(fp, startpos, SEEK_SET);
return NULL;
}
return NULL;
}