summaryrefslogtreecommitdiff
path: root/source4/rpc_server/epmapper
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-06-20 04:15:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:53:26 -0500
commitd291b8bf933e7595ac2967602d90918c286e3429 (patch)
treed9ba06a19ecdd22052e23856c181fcf5f81c280e /source4/rpc_server/epmapper
parent576b1c84fb9c5de642b549d769764488436f2c5f (diff)
downloadsamba-d291b8bf933e7595ac2967602d90918c286e3429.tar.gz
samba-d291b8bf933e7595ac2967602d90918c286e3429.tar.bz2
samba-d291b8bf933e7595ac2967602d90918c286e3429.zip
r23551: Change data_blob_equal to data_blob_cmp, suitable for sorting with qsort().
Andrew Bartlett (This used to be commit 96ef5259c63ad6245c94c40d6059d736b1534183)
Diffstat (limited to 'source4/rpc_server/epmapper')
-rw-r--r--source4/rpc_server/epmapper/rpc_epmapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/rpc_server/epmapper/rpc_epmapper.c b/source4/rpc_server/epmapper/rpc_epmapper.c
index 2f2d406cbd..1a736db629 100644
--- a/source4/rpc_server/epmapper/rpc_epmapper.c
+++ b/source4/rpc_server/epmapper/rpc_epmapper.c
@@ -218,8 +218,8 @@ static error_status_t dcesrv_epm_Map(struct dcesrv_call_state *dce_call, TALLOC_
for (i=0;i<count;i++) {
if (
- !data_blob_equal(&r->in.map_tower->tower.floors[0].lhs.lhs_data,
- &eps[i].ep.floors[0].lhs.lhs_data)
+ data_blob_cmp(&r->in.map_tower->tower.floors[0].lhs.lhs_data,
+ &eps[i].ep.floors[0].lhs.lhs_data) != 0
|| transport != dcerpc_transport_by_tower(&eps[i].ep)) {
continue;
}