mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-27 03:51:16 -05:00
Add comment about requiring pointers to memory block to be NULL if the
corresponding length is 0, non-NULL otherwise.
This commit is contained in:
parent
9f20f5913b
commit
0103f42343
1 changed files with 3 additions and 0 deletions
|
|
@ -386,6 +386,9 @@ isc_result_t dns_rdata_fromstruct(dns_rdata_t *rdata,
|
|||
*
|
||||
* 'target' is a valid binary buffer.
|
||||
*
|
||||
* All structure pointers to memory blocks should be NULL if their
|
||||
* corresponding length values are zero.
|
||||
*
|
||||
* Ensures:
|
||||
* If result is success:
|
||||
* If 'rdata' is not NULL, it is attached to the target.
|
||||
|
|
|
|||
Loading…
Reference in a new issue