Skip to content
Snippets Groups Projects
Commit 090270e9 authored by Howard Chu's avatar Howard Chu
Browse files

Use of bzero is not portable

parent 238f6333
No related branches found
No related tags found
No related merge requests found
......@@ -263,8 +263,7 @@ dup_comp_filter (
ComponentFilter **out_f )
{
int rc;
ComponentFilter dup_f;
bzero( &dup_f, sizeof(dup_f));
ComponentFilter dup_f = {0};
if ( !in_f ) return LDAP_PROTOCOL_ERROR;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment