From a71ed8bb9b14921f1b6ea7969f793cdcff23d015 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Tue, 28 Nov 2006 16:43:04 +0000 Subject: changed MAX_PATH to FILENAME_MAX svn path=/trunk/externals/mrpeach/; revision=6491 --- net/tcpsend.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'net/tcpsend.c') 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 */ -- cgit v1.2.1