# HG changeset patch # User markus schnalke # Date 1310635912 -7200 # Node ID a7a387253b2f5eaa55ad7b40f66734f43b40ad84 # Parent 53cf6be5843a40e1d3eba8b5af069ad074c7217b Argument of read_queue() was unused, thus removed diff -r 53cf6be5843a -r a7a387253b2f src/masqmail.h --- a/src/masqmail.h Thu Jul 14 11:15:27 2011 +0200 +++ b/src/masqmail.h Thu Jul 14 11:31:52 2011 +0200 @@ -457,7 +457,7 @@ gboolean spool_delete_all(message * msg); /* queue.c */ -GList *read_queue(gboolean do_readdata); +GList *read_queue(void); gboolean queue_run(void); gboolean queue_run_online(void); void queue_list(void); diff -r 53cf6be5843a -r a7a387253b2f src/queue.c --- a/src/queue.c Thu Jul 14 11:15:27 2011 +0200 +++ b/src/queue.c Thu Jul 14 11:31:52 2011 +0200 @@ -42,7 +42,7 @@ } GList* -read_queue(gboolean do_readdata) +read_queue(void) { GList *msg_list = NULL; glob_t gl; @@ -76,7 +76,7 @@ DEBUG(5) debugf("uid: %s\n", uid); - msg_list = g_list_append(msg_list, msg_spool_read(uid, do_readdata)); + msg_list = g_list_append(msg_list, msg_spool_read(uid, FALSE)); DEBUG(5) debugf("after read spool file for %s\n", uid); @@ -92,7 +92,7 @@ gboolean ok = TRUE; logwrite(LOG_NOTICE, "Starting queue run.\n"); - msg_list = read_queue(FALSE); + msg_list = read_queue(); if (msg_list) { ok = deliver_msg_list(msg_list, DLVR_ALL); DEBUG(5) debugf(" deliver_msg_list() returned: %d\n", ok); @@ -110,7 +110,7 @@ gboolean ok = TRUE; logwrite(LOG_NOTICE, "Starting online queue run.\n"); - msg_list = read_queue(FALSE); + msg_list = read_queue(); if (msg_list) { ok = deliver_msg_list(msg_list, DLVR_ONLINE); DEBUG(5) debugf(" deliver_msg_list() returned: %d\n", ok); @@ -140,7 +140,7 @@ GList *msg_list; GList *msg_node; - msg_list = read_queue(FALSE); + msg_list = read_queue(); if (msg_list == NULL) { printf("mail queue is empty.\n");