<!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 rtems (2010-10-19)</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>2010-10-19 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * libnetworking/lib/ftpfs.c: Fixed a special case with no username and
        password.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2635&r2=text&tr2=1.2636&diff_format=h">M</a></td><td width='1%'>1.2636</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libnetworking/lib/ftpfs.c.diff?r1=text&tr1=1.33&r2=text&tr2=1.34&diff_format=h">M</a></td><td width='1%'>1.34</td><td width='100%'>cpukit/libnetworking/lib/ftpfs.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2635 rtems/cpukit/ChangeLog:1.2636
--- rtems/cpukit/ChangeLog:1.2635       Mon Oct 18 17:39:32 2010
+++ rtems/cpukit/ChangeLog      Tue Oct 19 02:38:53 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-10-19    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * libnetworking/lib/ftpfs.c: Fixed a special case with no username and
+       password.
+
</font> 2010-10-19        Chris Johns <chrisj@rtems.org>
 
        * libfs/src/rfs/rtems-rfs-rtems-file.c: Add missing unlock in

<font color='#006600'>diff -u rtems/cpukit/libnetworking/lib/ftpfs.c:1.33 rtems/cpukit/libnetworking/lib/ftpfs.c:1.34
--- rtems/cpukit/libnetworking/lib/ftpfs.c:1.33 Thu Jul 15 03:46:06 2010
+++ rtems/cpukit/libnetworking/lib/ftpfs.c      Tue Oct 19 02:38:53 2010
</font><font color='#997700'>@@ -491,6 +491,13 @@
</font> 
 done:
 
<font color='#000088'>+  /* This is a special case with no username and password */
+  if (*hostname == NULL) {
+    *hostname = &s [0];
+    *user = "anonymous";
+    *password = *user;
+  }
+
</font>   /* If we have no password use the user name */
   if (*password == NULL) {
     *password = *user;
</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>