]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix variable name in wxFTP example in the documentation.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 15 Jan 2012 12:28:54 +0000 (12:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 15 Jan 2012 12:28:54 +0000 (12:28 +0000)
The variable should be called "in", not "i".

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/protocol/ftp.h

index aecb0ddb3ba2a4fe0fc04e913d319a5973977a0e..ddfdac4f0e2c0849c88f345d7d787bbd6c7e8b54 100644 (file)
@@ -54,7 +54,7 @@ enum TransferMode
             wxLogError("Couldn't get the file size for \"%s\"", filename);
         }
 
-        wxInputStream *i = ftp.GetInputStream(filename);
+        wxInputStream *in = ftp.GetInputStream(filename);
         if ( !in )
         {
             wxLogError("Couldn't get the file");