aboutsummaryrefslogtreecommitdiff
path: root/net/udpsend.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/udpsend.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/udpsend.c')
-rw-r--r--net/udpsend.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/udpsend.c b/net/udpsend.c
index 98db672..2cf082b 100644
--- a/net/udpsend.c
+++ b/net/udpsend.c
@@ -144,13 +144,13 @@ static void udpsend_send(t_udpsend *x, t_symbol *s, int argc, t_atom *argv)
e = f - d;
if (e != 0)
{
- error("udpsend_send: item %d (%f) is not an integer", i, f);
+ pd_error(x, "udpsend_send: item %d (%f) is not an integer", i, f);
return;
}
c = (unsigned char)d;
if (c != d)
{
- error("udpsend_send: item %d (%f) is not between 0 and 255", i, f);
+ pd_error(x, "udpsend_send: item %d (%f) is not between 0 and 255", i, f);
return;
}
#ifdef DEBUG
@@ -193,7 +193,7 @@ static void udpsend_send(t_udpsend *x, t_symbol *s, int argc, t_atom *argv)
}
else
{
- error("udpsend_send: item %d is not a float or a file name", i);
+ pd_error(x, "udpsend_send: item %d is not a float or a file name", i);
return;
}
}
@@ -231,7 +231,7 @@ static void udpsend_send(t_udpsend *x, t_symbol *s, int argc, t_atom *argv)
}
}
}
- else error("udpsend: not connected");
+ else pd_error(x, "udpsend: not connected");
}
static void udpsend_free(t_udpsend *x)