aboutsummaryrefslogtreecommitdiff
path: root/pmpd_test.c
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2014-01-25 16:37:55 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2014-01-25 16:37:55 +0000
commit8e2046a5796957c47871f95bc6496b6971043ccf (patch)
tree8ff62e07c7be0b6f2c9eed85f2526e18570f991c /pmpd_test.c
parentd061f5a28acc0bdaf0ad91307c19739ccba1a0e1 (diff)
using pd_error better than post for errors
svn path=/trunk/externals/pmpd/; revision=17255
Diffstat (limited to 'pmpd_test.c')
-rw-r--r--pmpd_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pmpd_test.c b/pmpd_test.c
index a8b9121..5d1d81d 100644
--- a/pmpd_test.c
+++ b/pmpd_test.c
@@ -89,7 +89,7 @@ int test_1d_mass(int i, t_pmpd *x, int argc, t_atom *argv)
}
else
{
- post("Option \"%s\" not reconized, stoping test",atom_getsymbolarg(j,argc,argv)->s_name);
+ pd_error(x,"Option \"%s\" not reconized, stoping test",atom_getsymbolarg(j,argc,argv)->s_name);
return(-1);
}
}
@@ -174,13 +174,13 @@ int test_1d_link(int i, t_pmpd *x, int argc, t_atom *argv)
}
else
{
- post("bad argument for connectedTo");
+ pd_error(x,"bad argument for connectedTo");
j+=1;
}
}
else
{
- post("Option \"%s\" not reconized, stoping test",atom_getsymbolarg(j,argc,argv)->s_name);
+ pd_error(x,"Option \"%s\" not reconized, stoping test",atom_getsymbolarg(j,argc,argv)->s_name);
return(-1);
}
}