Commit d4c721ff authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

ITS#601: fix fetch bugs

parent d1941939
......@@ -59,7 +59,7 @@ ldif_fetch_url(
p = ber_strdup( p );
ldap_pvt_hex_unescape( p );
url = fopen( p, "r" );
url = fopen( p, "rb" );
} else {
return -1;
......@@ -79,7 +79,7 @@ ldif_fetch_url(
fclose( url );
return -1;
}
newp = p;
p = newp;
SAFEMEMCPY( &p[total], buffer, bytes );
total += bytes;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment