masqmail

diff src/spool.c @ 349:b45dc53f2829

Removed unused second arg of msg_spool_read()
author markus schnalke <meillo@marmaro.de>
date Thu, 14 Jul 2011 11:38:23 +0200
parents d04894d0fc64
children 41958685480d
line diff
     1.1 --- a/src/spool.c	Thu Jul 14 11:31:52 2011 +0200
     1.2 +++ b/src/spool.c	Thu Jul 14 11:38:23 2011 +0200
     1.3 @@ -201,7 +201,7 @@
     1.4  }
     1.5  
     1.6  message*
     1.7 -msg_spool_read(gchar * uid, gboolean do_readdata)
     1.8 +msg_spool_read(gchar * uid)
     1.9  {
    1.10  	message *msg;
    1.11  	gboolean ok = FALSE;
    1.12 @@ -212,13 +212,7 @@
    1.13  	DEBUG(4) debugf("msg_spool_read():\n");
    1.14  	/* header spool: */
    1.15  	ok = spool_read_header(msg);
    1.16 -	DEBUG(4) debugf("  spool_read_header() returned: %d (do_readdata had been: %d)\n",
    1.17 -	                ok, do_readdata);
    1.18 -	if (ok && do_readdata) {
    1.19 -		/* data spool: */
    1.20 -		ok = spool_read_data(msg);
    1.21 -		DEBUG(4) debugf("  spool_read_data() returned: %d\n", ok);
    1.22 -	}
    1.23 +	DEBUG(4) debugf("  spool_read_header() returned: %d\n", ok);
    1.24  	return msg;
    1.25  }
    1.26