~ubuntu-branches/ubuntu/maverick/bind9/maverick

« back to all changes in this revision

Viewing changes to lib/isc/taskpool.c

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2005-04-19 10:21:58 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050419102158-kp20cp1bqf4ivpzy
Tags: 1:9.3.1-2ubuntu1
resync with debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 * PERFORMANCE OF THIS SOFTWARE.
16
16
 */
17
17
 
18
 
/* $Id: taskpool.c,v 1.10.2.1 2004/03/09 06:11:52 marka Exp $ */
 
18
/* $Id: taskpool.c,v 1.10.12.3 2004/03/08 09:04:50 marka Exp $ */
19
19
 
20
20
#include <config.h>
21
21
 
46
46
        isc_result_t result;
47
47
 
48
48
        INSIST(ntasks > 0);
49
 
        pool = isc_mem_get(mctx, sizeof *pool);
 
49
        pool = isc_mem_get(mctx, sizeof(*pool));
50
50
        if (pool == NULL)
51
51
                return (ISC_R_NOMEMORY);
52
52
        pool->mctx = mctx;