[brlcad-commits] SF.net SVN: brlcad:[37141] brlcad/trunk/src/util/ttcp.c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <eri...@us...> - 2010-01-06 18:43:23
|
Revision: 37141 http://brlcad.svn.sourceforge.net/brlcad/?rev=37141&view=rev Author: erikgreenwald Date: 2010-01-06 18:43:07 +0000 (Wed, 06 Jan 2010) Log Message: ----------- break usage string into two to avoid the "509" warning Modified Paths: -------------- brlcad/trunk/src/util/ttcp.c Modified: brlcad/trunk/src/util/ttcp.c =================================================================== --- brlcad/trunk/src/util/ttcp.c 2010-01-06 18:40:47 UTC (rev 37140) +++ brlcad/trunk/src/util/ttcp.c 2010-01-06 18:43:07 UTC (rev 37141) @@ -92,6 +92,7 @@ struct hostent *addr; +/* Usage broken into two strings to avoid the 509 C90 'minimum' */ char Usage[] = "\ Usage: ttcp -t [-options] host <in\n\ -l## length of bufs written to network (default 1024)\n\ @@ -99,6 +100,8 @@ -n## number of bufs written to network (-s only, default 1024)\n\ -p## port number to send to (default 2000)\n\ -u use UDP instead of TCP\n\ +"; +char Usage2[] = "\ Usage: ttcp -r [-options] >out\n\ -l## length of network read buf (default 1024)\n\ -s sink (discard) all data from network\n\ @@ -645,7 +648,7 @@ return 0; usage: - fprintf(stderr, "%s", Usage); + fprintf(stderr, "%s%s", Usage, Usage2); return 1; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |