~andreserl/ubuntu/lucid/bind9/bind9-apport-533601

« back to all changes in this revision

Viewing changes to bin/tests/wire_test.c

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2006-01-05 12:29:28 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060105122928-oih7ttkkmpb90q8q
Tags: 1:9.3.2-1
* New upstream
* use lsb-base for start/stop messages in init.d.
* switch to debhelper 4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
 
2
 * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
3
3
 * Copyright (C) 1999-2001  Internet Software Consortium.
4
4
 *
5
5
 * Permission to use, copy, modify, and distribute this software for any
15
15
 * PERFORMANCE OF THIS SOFTWARE.
16
16
 */
17
17
 
18
 
/* $Id: wire_test.c,v 1.60.12.5 2004/03/08 04:04:28 marka Exp $ */
 
18
/* $Id: wire_test.c,v 1.60.12.7 2005/03/17 03:58:29 marka Exp $ */
19
19
 
20
20
#include <config.h>
21
21
 
140
140
                        }
141
141
                        rp++;
142
142
                }
143
 
                if (len == 0)
 
143
                if (len == 0U)
144
144
                        break;
145
 
                if (len % 2 != 0) {
146
 
                        printf("bad input format: %d\n", len);
 
145
                if (len % 2 != 0U) {
 
146
                        printf("bad input format: %lu\n", (unsigned long)len);
147
147
                        exit(1);
148
148
                }
149
149
                if (len > sizeof(b) * 2) {