]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
Fix bug in cl_vector_set submitted by Yossi Leybovich <sleybo@mellanox.co.il>
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 11 Jul 2005 20:55:02 +0000 (20:55 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 11 Jul 2005 20:55:02 +0000 (20:55 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1@34 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/core/complib/cl_vector.c

index 2335ced32e887781de103308587fd684435cb195..843d9f4eb2047e10de4a16a77ef24f07de83660b 100644 (file)
@@ -1,6 +1,7 @@
 /*\r
  * Copyright (c) 2005 SilverStorm Technologies.  All rights reserved.\r
- * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. \r
+ * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.\r
+ * Copyright (c) 2005 Mellanox Technologies, Inc. All rights reserved.\r
  *\r
  * This software is available to you under the OpenIB.org BSD license\r
  * below:\r
@@ -366,7 +367,7 @@ cl_vector_set(
        CL_ASSERT( p_dest );\r
 \r
        /* Copy the data into the array */\r
-       p_vector->pfn_copy( p_element, p_dest, p_vector->element_size );\r
+       p_vector->pfn_copy( p_dest, p_element, p_vector->element_size );\r
 \r
        return( CL_SUCCESS );\r
 }\r