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

« back to all changes in this revision

Viewing changes to lib/dns/rdata/generic/minfo_14.c

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2010-03-01 20:51:23 UTC
  • mfrom: (1.6.4 upstream) (10.1.5 experimental)
  • Revision ID: james.westby@ubuntu.com-20100301205123-kslpwaipx72vq1o1
Tags: 1:9.7.0.dfsg-1~build1
upload of -1 to lucid, LP#530107

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2004, 2007  Internet Systems Consortium, Inc. ("ISC")
 
2
 * Copyright (C) 2004, 2007, 2009  Internet Systems Consortium, Inc. ("ISC")
3
3
 * Copyright (C) 1998-2001  Internet Software Consortium.
4
4
 *
5
5
 * Permission to use, copy, modify, and/or distribute this software for any
15
15
 * PERFORMANCE OF THIS SOFTWARE.
16
16
 */
17
17
 
18
 
/* $Id: minfo_14.c,v 1.45 2007/06/19 23:47:17 tbox Exp $ */
 
18
/* $Id: minfo_14.c,v 1.47 2009/12/04 22:06:37 tbox Exp $ */
19
19
 
20
20
/* reviewed: Wed Mar 15 17:45:32 PST 2000 by brister */
21
21
 
93
93
 
94
94
static inline isc_result_t
95
95
fromwire_minfo(ARGS_FROMWIRE) {
96
 
        dns_name_t rmail;
97
 
        dns_name_t email;
 
96
        dns_name_t rmail;
 
97
        dns_name_t email;
98
98
 
99
99
        REQUIRE(type == 14);
100
100
 
103
103
 
104
104
        dns_decompress_setmethods(dctx, DNS_COMPRESS_GLOBAL14);
105
105
 
106
 
        dns_name_init(&rmail, NULL);
107
 
        dns_name_init(&email, NULL);
 
106
        dns_name_init(&rmail, NULL);
 
107
        dns_name_init(&email, NULL);
108
108
 
109
 
        RETERR(dns_name_fromwire(&rmail, source, dctx, options, target));
110
 
        return (dns_name_fromwire(&email, source, dctx, options, target));
 
109
        RETERR(dns_name_fromwire(&rmail, source, dctx, options, target));
 
110
        return (dns_name_fromwire(&email, source, dctx, options, target));
111
111
}
112
112
 
113
113
static inline isc_result_t
321
321
        return (ISC_TRUE);
322
322
}
323
323
 
 
324
static inline int
 
325
casecompare_minfo(ARGS_COMPARE) {
 
326
        return (compare_minfo(rdata1, rdata2));
 
327
}
 
328
 
324
329
#endif  /* RDATA_GENERIC_MINFO_14_C */