mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 06:10:12 +01:00
Code cleanup
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
ee7f5d970b
commit
d687fa16ab
@ -305,5 +305,3 @@ int retrieve_email_from_archive(struct session_data *sdata, FILE *dest, struct c
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -169,5 +169,3 @@ CLOSE:
|
||||
|
||||
return attachments;
|
||||
}
|
||||
|
||||
|
||||
|
@ -76,4 +76,3 @@ void base64_encode(unsigned char *in, int inlen, char *out, int outlen){
|
||||
|
||||
base64_encode_block(buf, i, &out[pos]);
|
||||
}
|
||||
|
||||
|
@ -304,5 +304,3 @@ void print_config(char *configfile, struct config *cfg){
|
||||
|
||||
fclose(f);
|
||||
}
|
||||
|
||||
|
||||
|
@ -136,4 +136,3 @@
|
||||
#define S_STATUS_ERROR "error"
|
||||
|
||||
#endif /* _CONFIG_H */
|
||||
|
||||
|
@ -133,4 +133,3 @@ void digest_string(char *s, char *digest){
|
||||
snprintf(digest + i*2, 2*DIGEST_LENGTH, "%02x", md[i]);
|
||||
|
||||
}
|
||||
|
||||
|
@ -317,5 +317,3 @@ void extract_attachment_content(struct session_data *sdata, struct parser_state
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -163,4 +163,3 @@ unsigned int DJBHash(char* str, unsigned int len){
|
||||
|
||||
return hash;
|
||||
}
|
||||
|
||||
|
@ -285,4 +285,3 @@ struct mi htmlentities[] = {
|
||||
|
||||
|
||||
#endif /* _HTMLENTITIES_H */
|
||||
|
||||
|
@ -23,4 +23,3 @@ int process_imap_folder(char *folder, struct session_data *sdata, struct data *d
|
||||
void send_imap_close(struct data *data);
|
||||
|
||||
#endif /* _IMPORT_H */
|
||||
|
||||
|
@ -92,6 +92,3 @@ void free_list(struct list *list){
|
||||
p = q;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -14,4 +14,3 @@ int is_item_on_string(struct list *list, char *s);
|
||||
void free_list(struct list *list);
|
||||
|
||||
#endif /* _LIST_H */
|
||||
|
||||
|
@ -372,5 +372,3 @@ char *memcached_fetch_result(struct memcached_server *ptr, char *key, char *valu
|
||||
|
||||
return p;
|
||||
}
|
||||
|
||||
|
||||
|
@ -104,7 +104,6 @@ int p_exec_stmt(struct session_data *sdata, struct sql *sql){
|
||||
bind[i].buffer = sql->sql[i];
|
||||
bind[i].is_null = 0;
|
||||
|
||||
|
||||
}
|
||||
else { break; }
|
||||
}
|
||||
|
@ -1055,4 +1055,3 @@ void fix_plus_sign_in_email_address(char *puf, char **at_sign, unsigned int *len
|
||||
*at_sign = r;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -57,5 +57,3 @@ int main(int argc, char **argv){
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -604,5 +604,3 @@ int main(int argc, char **argv){
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -54,5 +54,3 @@ int main(int argc, char **argv){
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -21,4 +21,3 @@ void initrules(struct node *xhash[]);
|
||||
void clearrules(struct node *xhash[]);
|
||||
|
||||
#endif /* _RULES_H */
|
||||
|
||||
|
@ -56,4 +56,3 @@ signal_func *set_signal_handler(int signo, signal_func * func){
|
||||
|
||||
return oact.sa_handler;
|
||||
}
|
||||
|
||||
|
@ -64,4 +64,3 @@
|
||||
// LMTP responses
|
||||
|
||||
#define LMTP_RESP_220_BANNER "220 %s LMTP\r\n"
|
||||
|
||||
|
@ -235,5 +235,3 @@ int remove_stored_message_files(struct session_data *sdata, struct parser_state
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user