<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for network-demos (2011-03-28)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-03-29     Sebastian Huber <Sebastian.Huber@embedded-brains.de>

        * mcast/listener.c: Output only received characters.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//network-demos/ChangeLog.diff?r1=text&tr1=1.37&r2=text&tr2=1.38&diff_format=h">M</a></td><td width='1%'>1.38</td><td width='100%'>ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//network-demos/mcast/listener.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>mcast/listener.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u network-demos/ChangeLog:1.37 network-demos/ChangeLog:1.38
--- network-demos/ChangeLog:1.37        Thu Mar  3 14:04:48 2011
+++ network-demos/ChangeLog     Mon Mar 28 05:25:38 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-03-29     Sebastian Huber <Sebastian.Huber@embedded-brains.de>
+
+       * mcast/listener.c: Output only received characters.
+
</font> 2011-03-03        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        * networkconfig-qemu.h: VirtualBox uses 10.0.x.x for its eth0 so we

<font color='#006600'>diff -u network-demos/mcast/listener.c:1.1 network-demos/mcast/listener.c:1.2
--- network-demos/mcast/listener.c:1.1  Wed Sep 19 16:52:02 2007
+++ network-demos/mcast/listener.c      Mon Mar 28 05:25:38 2011
</font><font color='#997700'>@@ -30,7 +30,7 @@
</font>      struct sockaddr_in addr;
      int fd, nbytes,addrlen;
      struct ip_mreq mreq;
<font color='#880000'>-     char msgbuf[MSGBUFSIZE];
</font><font color='#000088'>+     char msgbuf[MSGBUFSIZE + 1];
</font> 
      u_int yes=1;            /*** MODIFICATION TO ORIGINAL */
 
<font color='#997700'>@@ -77,6 +77,7 @@
</font>          perror("recvfrom");
               exit(1);
          }
<font color='#000088'>+     msgbuf [nbytes] = '\0';
</font>     puts(msgbuf);
      }
 }
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>