Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
s/mismatch_error/not_found_error/ when needed
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 7 Aug 2005 17:48:38 +0000 (17:48 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 7 Aug 2005 17:48:38 +0000 (17:48 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1621 48e7efb5-ca39-0410-a469-dd3cf9ba447f

testsuite/xbt/set_usage.c

index 23d60a3..72fda13 100644 (file)
@@ -142,7 +142,7 @@ static void search_not_found(xbt_set_t set, const char *data) {
     xbt_set_get_by_name(set,data);
     THROW1(unknown_error,0,"Found something which shouldn't be there (%s)",data);
   } CATCH(e) {
-    if (e.category == mismatch_error) {
+    if (e.category == not_found_error) {
       xbt_ex_free(e);
     } else {
       RETHROW;