Skip to content

Commit 3f6ed56

Browse files
committed
- direct-rdata-storage, relocate variables in ixfr_store_oldsoa_uncompressed.
1 parent 4cf4953 commit 3f6ed56

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ixfr.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,16 +1423,15 @@ int ixfr_store_oldsoa_uncompressed(struct ixfr_store* ixfr_store,
14231423
uint8_t* dname, size_t dname_len, uint16_t type, uint16_t klass,
14241424
uint32_t ttl, uint8_t* rdata, size_t rdata_len)
14251425
{
1426-
size_t capacity = 0;
1426+
uint32_t serial;
1427+
size_t capacity = 0, index, count = 0;
14271428
if(ixfr_store->cancelled)
14281429
return 1;
14291430
if(!ixfr_storerr_uncompressed(dname, dname_len, type, klass,
14301431
ttl, rdata, rdata_len, &ixfr_store->data->oldsoa,
14311432
&ixfr_store->data->oldsoa_len, &capacity))
14321433
return 0;
14331434
{
1434-
uint32_t serial;
1435-
size_t index, count = 0;
14361435
if (!(count = skip_dname(rdata, rdata_len)))
14371436
return 0;
14381437
index = count;

0 commit comments

Comments
 (0)