change log for rtems (2010-10-19)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue Oct 19 08:10:48 UTC 2010


 *sh*:
2010-10-19	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* libnetworking/lib/ftpfs.c: Fixed a special case with no username and
	password.

M 1.2636  cpukit/ChangeLog
M   1.34  cpukit/libnetworking/lib/ftpfs.c

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
@@ -1,3 +1,8 @@
+2010-10-19	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* libnetworking/lib/ftpfs.c: Fixed a special case with no username and
+	password.
+
 2010-10-19	Chris Johns <chrisj at rtems.org>
 
 	* libfs/src/rfs/rtems-rfs-rtems-file.c: Add missing unlock in

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
@@ -491,6 +491,13 @@
 
 done:
 
+  /* This is a special case with no username and password */
+  if (*hostname == NULL) {
+    *hostname = &s [0];
+    *user = "anonymous";
+    *password = *user;
+  }
+
   /* If we have no password use the user name */
   if (*password == NULL) {
     *password = *user;



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20101019/781d6f7f/attachment.html>


More information about the vc mailing list