aboutsummaryrefslogtreecommitdiff
path: root/net/tcpsend.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-07-07 23:20:31 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-07-07 23:20:31 +0000
commitc46c7fe43e29bf3881443ab5a6e1f532b076e549 (patch)
treec25fdfefdb457877b31ef715f63ee3bced76c656 /net/tcpsend.c
parent7017b006375c8370e6d944266d18db8b39f6ebb2 (diff)
converted error() calls to pd_error() calls where appropriate, ie. where a findable error is desirable
svn path=/trunk/externals/mrpeach/; revision=13694
Diffstat (limited to 'net/tcpsend.c')
-rw-r--r--net/tcpsend.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/tcpsend.c b/net/tcpsend.c
index b576eae..7aef491 100644
--- a/net/tcpsend.c
+++ b/net/tcpsend.c
@@ -142,13 +142,13 @@ static void tcpsend_send(t_tcpsend *x, t_symbol *s, int argc, t_atom *argv)
e = f - d;
if (e != 0)
{
- error("tcpsend_send: item %d (%f) is not an integer", i, f);
+ pd_error(x, "tcpsend_send: item %d (%f) is not an integer", i, f);
return;
}
c = (unsigned char)d;
if (c != d)
{
- error("tcpsend_send: item %d (%f) is not between 0 and 255", i, f);
+ pd_error(x, "tcpsend_send: item %d (%f) is not between 0 and 255", i, f);
return;
}
#ifdef DEBUG
@@ -191,7 +191,7 @@ static void tcpsend_send(t_tcpsend *x, t_symbol *s, int argc, t_atom *argv)
}
else
{
- error("tcpsend_send: item %d is not a float or a file name", i);
+ pd_error(x, "tcpsend_send: item %d is not a float or a file name", i);
return;
}
}
@@ -229,7 +229,7 @@ static void tcpsend_send(t_tcpsend *x, t_symbol *s, int argc, t_atom *argv)
}
}
}
- else error("tcpsend: not connected");
+ else pd_error(x, "tcpsend: not connected");
}
static void tcpsend_free(t_tcpsend *x)