mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
snmp_hostres(3): fix a typo in sanity checks in handle_chunk()
PR: 204253 Submitted by: David Binderman <dcb314@hotmail.com> MFC after: 5 days
This commit is contained in:
parent
994558c335
commit
e5cb99d5a2
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ handle_chunk(int32_t ds_index, const char *chunk_name, off_t chunk_size)
|
|||
|
||||
assert(chunk_name != NULL);
|
||||
assert(chunk_name[0] != '\0');
|
||||
if (chunk_name == NULL || chunk_name == '\0')
|
||||
if (chunk_name == NULL || chunk_name[0] == '\0')
|
||||
return;
|
||||
|
||||
HRDBG("ANALYZE chunk %s", chunk_name);
|
||||
|
|
|
|||
Loading…
Reference in a new issue