diff -r 133528cfd528 -r 3cb5769059f4 master/pdo_mapping.c --- a/master/pdo_mapping.c Thu Feb 28 11:07:40 2008 +0000 +++ b/master/pdo_mapping.c Thu Feb 28 11:23:34 2008 +0000 @@ -119,7 +119,7 @@ * * \return 0 on success, else < 0 */ -int ec_pdo_mapping_add_pdo( +int ec_pdo_mapping_add_pdo_copy( ec_pdo_mapping_t *pm, /**< Pdo mapping. */ const ec_pdo_t *pdo /**< Pdo to add. */ ) @@ -269,7 +269,7 @@ // Pdo already mapped? list_for_each_entry(other_pdo, &other->pdos, list) { - if (ec_pdo_mapping_add_pdo(pm, other_pdo)) + if (ec_pdo_mapping_add_pdo_copy(pm, other_pdo)) return -1; }