[PD-cvs] pd/src u_pdsend.c,1.2,1.2.4.1

IOhannes m zmölnig zmoelnig at users.sourceforge.net
Tue Jun 21 16:33:49 CEST 2005


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7938

Modified Files:
      Tag: devel_0_38
	u_pdsend.c 
Log Message:
buffer-length should not be "char" if we want to transmit strings that are longer than 255 chars


Index: u_pdsend.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/u_pdsend.c,v
retrieving revision 1.2
retrieving revision 1.2.4.1
diff -C2 -d -r1.2 -r1.2.4.1
*** u_pdsend.c	6 Sep 2004 20:20:36 -0000	1.2
--- u_pdsend.c	21 Jun 2005 14:33:41 -0000	1.2.4.1
***************
*** 106,110 ****
      while (1)
      {
!         char buf[BUFSIZE], *bp, nsent, nsend;
          if (!fgets(buf, BUFSIZE, stdin))
              break;
--- 106,111 ----
      while (1)
      {
!         char buf[BUFSIZE], *bp;
! 	unsigned int  nsent, nsend;
          if (!fgets(buf, BUFSIZE, stdin))
              break;





More information about the Pd-cvs mailing list