mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 20:20:12 +01:00
eliminated a compile time warning
This commit is contained in:
parent
e6098bf2a0
commit
e685bcffc1
@ -171,7 +171,7 @@ void storno_attachment(struct _state *state){
|
|||||||
int parse_line(char *buf, struct _state *state, struct session_data *sdata, int take_into_pieces, char *writebuffer, int writebuffersize, char *abuffer, int abuffersize, struct __data *data, struct __config *cfg){
|
int parse_line(char *buf, struct _state *state, struct session_data *sdata, int take_into_pieces, char *writebuffer, int writebuffersize, char *abuffer, int abuffersize, struct __data *data, struct __config *cfg){
|
||||||
char *p, *q, puf[SMALLBUFSIZE];
|
char *p, *q, puf[SMALLBUFSIZE];
|
||||||
unsigned char b64buffer[MAXBUFSIZE];
|
unsigned char b64buffer[MAXBUFSIZE];
|
||||||
int t, n64, len, writelen, boundary_line=0;
|
int n64, len, writelen, boundary_line=0;
|
||||||
|
|
||||||
if(cfg->debug == 1) printf("line: %s", buf);
|
if(cfg->debug == 1) printf("line: %s", buf);
|
||||||
|
|
||||||
@ -308,7 +308,7 @@ int parse_line(char *buf, struct _state *state, struct session_data *sdata, int
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
t = trimBuffer(buf);
|
trimBuffer(buf);
|
||||||
|
|
||||||
/* skip the first line, if it's a "From <email address> date" format */
|
/* skip the first line, if it's a "From <email address> date" format */
|
||||||
if(state->line_num == 1 && strncmp(buf, "From ", 5) == 0) return 0;
|
if(state->line_num == 1 && strncmp(buf, "From ", 5) == 0) return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user