Various fixes for the telnet driver

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4351 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-01-31 15:41:07 +00:00
parent 5d7909fa42
commit 1df049bbc3
5 changed files with 36 additions and 24 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
/****************************************************************************
* lib/stdio/lib_fprintf.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* Copyright (C) 2007, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+2 -2
View File
@@ -1,7 +1,7 @@
/****************************************************************************
* lib/stdio/lib_libfflush.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Copyright (C) 2007-2008, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -108,7 +108,7 @@ ssize_t lib_fflush(FAR FILE *stream, bool bforce)
#if CONFIG_STDIO_BUFFER_SIZE > 0
FAR const unsigned char *src;
ssize_t bytes_written;
size_t nbuffer;
ssize_t nbuffer;
/* Return EBADF if the file is not opened for writing */
+2 -2
View File
@@ -1,8 +1,8 @@
/****************************************************************************
* lib/stdio/lib_printf.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* Copyright (C) 2007-2008, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions