masqmail

changeset 348:a7a387253b2f

Argument of read_queue() was unused, thus removed
author markus schnalke <meillo@marmaro.de>
date Thu, 14 Jul 2011 11:31:52 +0200
parents 53cf6be5843a
children b45dc53f2829
files src/masqmail.h src/queue.c
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line diff
     1.1 --- a/src/masqmail.h	Thu Jul 14 11:15:27 2011 +0200
     1.2 +++ b/src/masqmail.h	Thu Jul 14 11:31:52 2011 +0200
     1.3 @@ -457,7 +457,7 @@
     1.4  gboolean spool_delete_all(message * msg);
     1.5  
     1.6  /* queue.c */
     1.7 -GList *read_queue(gboolean do_readdata);
     1.8 +GList *read_queue(void);
     1.9  gboolean queue_run(void);
    1.10  gboolean queue_run_online(void);
    1.11  void queue_list(void);
     2.1 --- a/src/queue.c	Thu Jul 14 11:15:27 2011 +0200
     2.2 +++ b/src/queue.c	Thu Jul 14 11:31:52 2011 +0200
     2.3 @@ -42,7 +42,7 @@
     2.4  }
     2.5  
     2.6  GList*
     2.7 -read_queue(gboolean do_readdata)
     2.8 +read_queue(void)
     2.9  {
    2.10  	GList *msg_list = NULL;
    2.11  	glob_t gl;
    2.12 @@ -76,7 +76,7 @@
    2.13  
    2.14  		DEBUG(5) debugf("uid: %s\n", uid);
    2.15  
    2.16 -		msg_list = g_list_append(msg_list, msg_spool_read(uid, do_readdata));
    2.17 +		msg_list = g_list_append(msg_list, msg_spool_read(uid, FALSE));
    2.18  
    2.19  		DEBUG(5) debugf("after read spool file for %s\n", uid);
    2.20  
    2.21 @@ -92,7 +92,7 @@
    2.22  	gboolean ok = TRUE;
    2.23  
    2.24  	logwrite(LOG_NOTICE, "Starting queue run.\n");
    2.25 -	msg_list = read_queue(FALSE);
    2.26 +	msg_list = read_queue();
    2.27  	if (msg_list) {
    2.28  		ok = deliver_msg_list(msg_list, DLVR_ALL);
    2.29  		DEBUG(5) debugf("  deliver_msg_list() returned: %d\n", ok);
    2.30 @@ -110,7 +110,7 @@
    2.31  	gboolean ok = TRUE;
    2.32  
    2.33  	logwrite(LOG_NOTICE, "Starting online queue run.\n");
    2.34 -	msg_list = read_queue(FALSE);
    2.35 +	msg_list = read_queue();
    2.36  	if (msg_list) {
    2.37  		ok = deliver_msg_list(msg_list, DLVR_ONLINE);
    2.38  		DEBUG(5) debugf("  deliver_msg_list() returned: %d\n", ok);
    2.39 @@ -140,7 +140,7 @@
    2.40  	GList *msg_list;
    2.41  	GList *msg_node;
    2.42  
    2.43 -	msg_list = read_queue(FALSE);
    2.44 +	msg_list = read_queue();
    2.45  
    2.46  	if (msg_list == NULL) {
    2.47  		printf("mail queue is empty.\n");