MFC r344245:
snmp_hostres(3): fix a typo in sanity checks in handle_chunk() PR: 204253 Submitted by: David Binderman <dcb314@hotmail.com>
This commit is contained in:
parent
0bdaab82e7
commit
9ea69c9217
@ -316,7 +316,7 @@ handle_chunk(int32_t ds_index, const char *chunk_name, off_t chunk_size)
|
|||||||
|
|
||||||
assert(chunk_name != NULL);
|
assert(chunk_name != NULL);
|
||||||
assert(chunk_name[0] != '\0');
|
assert(chunk_name[0] != '\0');
|
||||||
if (chunk_name == NULL || chunk_name == '\0')
|
if (chunk_name == NULL || chunk_name[0] == '\0')
|
||||||
return;
|
return;
|
||||||
|
|
||||||
HRDBG("ANALYZE chunk %s", chunk_name);
|
HRDBG("ANALYZE chunk %s", chunk_name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user