From: ftillier Date: Mon, 11 Jul 2005 20:55:02 +0000 (+0000) Subject: Fix bug in cl_vector_set submitted by Yossi Leybovich X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=8ab18fef3e16ecc02598ec518e3baa1f2cf34ce0;p=~shefty%2Frdma-win.git Fix bug in cl_vector_set submitted by Yossi Leybovich git-svn-id: svn://openib.tc.cornell.edu/gen1@34 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- diff --git a/trunk/core/complib/cl_vector.c b/trunk/core/complib/cl_vector.c index 2335ced3..843d9f4e 100644 --- a/trunk/core/complib/cl_vector.c +++ b/trunk/core/complib/cl_vector.c @@ -1,6 +1,7 @@ /* * Copyright (c) 2005 SilverStorm Technologies. All rights reserved. - * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. + * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. + * Copyright (c) 2005 Mellanox Technologies, Inc. All rights reserved. * * This software is available to you under the OpenIB.org BSD license * below: @@ -366,7 +367,7 @@ cl_vector_set( CL_ASSERT( p_dest ); /* Copy the data into the array */ - p_vector->pfn_copy( p_element, p_dest, p_vector->element_size ); + p_vector->pfn_copy( p_dest, p_element, p_vector->element_size ); return( CL_SUCCESS ); }