Commit c81193cc authored by Howard Chu's avatar Howard Chu
Browse files

ITS#6526 somehow the update for this file was dropped

parent bfb254ef
...@@ -91,7 +91,7 @@ static int write_network(nssov_network_cbp *cbp,Entry *entry) ...@@ -91,7 +91,7 @@ static int write_network(nssov_network_cbp *cbp,Entry *entry)
addrs = a->a_vals; addrs = a->a_vals;
numaddr = a->a_numvals; numaddr = a->a_numvals;
/* write the entry */ /* write the entry */
WRITE_INT32(cbp->fp,NSLCD_RESULT_SUCCESS); WRITE_INT32(cbp->fp,NSLCD_RESULT_BEGIN);
WRITE_BERVAL(cbp->fp,&name); WRITE_BERVAL(cbp->fp,&name);
if ( dupname >= 0 ) { if ( dupname >= 0 ) {
WRITE_INT32(cbp->fp,numname-1); WRITE_INT32(cbp->fp,numname-1);
...@@ -118,7 +118,7 @@ NSSOV_HANDLE( ...@@ -118,7 +118,7 @@ NSSOV_HANDLE(
struct berval filter = {sizeof(fbuf)}; struct berval filter = {sizeof(fbuf)};
filter.bv_val = fbuf; filter.bv_val = fbuf;
BER_BVZERO(&cbp.addr); BER_BVZERO(&cbp.addr);
READ_STRING_BUF2(fp,cbp.buf,sizeof(cbp.buf)); READ_STRING(fp,cbp.buf);
cbp.name.bv_len = tmpint32; cbp.name.bv_len = tmpint32;
cbp.name.bv_val = cbp.buf;, cbp.name.bv_val = cbp.buf;,
Debug(LDAP_DEBUG_TRACE,"nssov_network_byname(%s)\n",cbp.name.bv_val,0,0);, Debug(LDAP_DEBUG_TRACE,"nssov_network_byname(%s)\n",cbp.name.bv_val,0,0);,
......
Markdown is supported
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