diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-08-14 22:19:15 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-08-18 08:49:00 +0200 |
commit | dd5201c29e4a9a889a70c81fa7a82bf0c8615d65 (patch) | |
tree | b14ae581e0680c303466781cc356c2399a6c7990 /src/Bindings/ManualBindings_Network.cpp | |
parent | Merge pull request #2436 from cuberite/UpdateCompileScript (diff) | |
download | cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar.gz cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar.bz2 cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar.lz cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar.xz cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar.zst cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.zip |
Diffstat (limited to 'src/Bindings/ManualBindings_Network.cpp')
-rw-r--r-- | src/Bindings/ManualBindings_Network.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/ManualBindings_Network.cpp b/src/Bindings/ManualBindings_Network.cpp index b5fb5b046..99f86b500 100644 --- a/src/Bindings/ManualBindings_Network.cpp +++ b/src/Bindings/ManualBindings_Network.cpp @@ -49,7 +49,7 @@ static int tolua_cNetwork_Connect(lua_State * L) // Read the params: AString Host; - int Port; + int Port = 0; S.GetStackValues(2, Host, Port); // Check validity: @@ -888,7 +888,7 @@ static int tolua_cUDPEndpoint_Send(lua_State * L) // Get the data to send: AString Data, RemotePeer; - int RemotePort; + int RemotePort = 0; S.GetStackValues(2, Data, RemotePeer, RemotePort); // Check the port: |