mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-15 01:49:59 -04:00
Removed more pointer to integer assignments.
This commit is contained in:
parent
1dce9a099e
commit
e1e309c63d
1 changed files with 3 additions and 3 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: lwresutil.c,v 1.17 2000/06/22 21:59:38 tale Exp $ */
|
||||
/* $Id: lwresutil.c,v 1.18 2000/06/26 20:58:52 bwelling Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -171,7 +171,7 @@ lwres_getaddrsbyname(lwres_context_t *ctx, const char *name,
|
|||
b_out.base = NULL;
|
||||
response = NULL;
|
||||
buffer = NULL;
|
||||
serial = (lwres_uint32_t)name;
|
||||
serial = ctx->serial++;
|
||||
|
||||
buffer = CTXMALLOC(LWRES_RECVLENGTH);
|
||||
if (buffer == NULL) {
|
||||
|
|
@ -326,7 +326,7 @@ lwres_getnamebyaddr(lwres_context_t *ctx, lwres_uint32_t addrtype,
|
|||
b_out.base = NULL;
|
||||
response = NULL;
|
||||
buffer = NULL;
|
||||
serial = (lwres_uint32_t)addr;
|
||||
serial = ctx->serial++;
|
||||
|
||||
buffer = CTXMALLOC(LWRES_RECVLENGTH);
|
||||
if (buffer == NULL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue