aboutsummaryrefslogtreecommitdiff
path: root/net/tcpsend.c
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2006-11-28 16:43:04 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2006-11-28 16:43:04 +0000
commita71ed8bb9b14921f1b6ea7969f793cdcff23d015 (patch)
tree5a8b29f182b760c3b5c720e7a95192f016108ff4 /net/tcpsend.c
parent7b1f43151fbec5181a5da526c20893562ecb3fcf (diff)
changed MAX_PATH to FILENAME_MAX
svn path=/trunk/externals/mrpeach/; revision=6491
Diffstat (limited to 'net/tcpsend.c')
-rwxr-xr-xnet/tcpsend.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/tcpsend.c b/net/tcpsend.c
index 13e707c..03ebca7 100755
--- a/net/tcpsend.c
+++ b/net/tcpsend.c
@@ -1,4 +1,4 @@
-/* x_net_tcpsend.c 20060424 Martin Peach did it based on x_net.c. x_net.c header follows: */
+/* tcpsend.c 20060424 Martin Peach did it based on x_net.c. x_net.c header follows: */
/* Copyright (c) 1997-1999 Miller Puckette.
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution. */
@@ -125,7 +125,7 @@ static void tcpsend_send(t_tcpsend *x, t_symbol *s, int argc, t_atom *argv)
double timebefore;
double timeafter;
int late;
- char fpath[MAX_PATH];
+ char fpath[FILENAME_MAX];
FILE *fptr;
#ifdef DEBUG
@@ -158,7 +158,7 @@ static void tcpsend_send(t_tcpsend *x, t_symbol *s, int argc, t_atom *argv)
else if (argv[i].a_type == A_SYMBOL)
{
- atom_string(&argv[i], fpath, MAX_PATH);
+ atom_string(&argv[i], fpath, FILENAME_MAX);
#ifdef DEBUG
post ("tcpsend fname: %s", fpath);
#endif
@@ -249,4 +249,4 @@ void tcpsend_setup(void)
A_GIMME, 0);
}
-/* end x_net_tcpsend.c*/
+/* end tcpsend.c */