summaryrefslogtreecommitdiff
path: root/nuttx/netutils/tftpc
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-09-06 18:04:00 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-09-06 18:04:00 +0000
commit2c8d0bbb4ac987bd1800b18c2cfedb131464953f (patch)
tree064a938e661e1764e723ae05d0ec7bdfe57aaa31 /nuttx/netutils/tftpc
parentd45cf71326cb4b98e5b0a8014eef39d931afde70 (diff)
downloadpx4-nuttx-2c8d0bbb4ac987bd1800b18c2cfedb131464953f.tar.gz
px4-nuttx-2c8d0bbb4ac987bd1800b18c2cfedb131464953f.tar.bz2
px4-nuttx-2c8d0bbb4ac987bd1800b18c2cfedb131464953f.zip
fix comment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@887 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils/tftpc')
-rw-r--r--nuttx/netutils/tftpc/tftpc_get.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/netutils/tftpc/tftpc_get.c b/nuttx/netutils/tftpc/tftpc_get.c
index 9b63405d5..e1b0e10d5 100644
--- a/nuttx/netutils/tftpc/tftpc_get.c
+++ b/nuttx/netutils/tftpc/tftpc_get.c
@@ -204,8 +204,9 @@ int tftpget(const char *remote, const char *local, in_addr_t addr, boolean binar
goto errout_with_sd;
}
- /* Subsequent recvfrom will use any port number until the correct
- * port for the data transfer is established.
+ /* Subsequent sendto will use the port number selected by the TFTP
+ * server. Setting the server port to zero indicates that we have
+ * not yet received the server port number.
*/
server.sin_port = 0;