File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Core/GameEngine/Source/GameNetwork Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -172,12 +172,12 @@ AsciiString IPEnumeration::getMachineName( void )
172172
173173 int err = WSAStartup (verReq, &wsadata);
174174 if (err != 0 ) {
175- return nullptr ;
175+ return AsciiString () ;
176176 }
177177
178178 if ((LOBYTE (wsadata.wVersion ) != 2 ) || (HIBYTE (wsadata.wVersion ) !=2 )) {
179179 WSACleanup ();
180- return nullptr ;
180+ return AsciiString () ;
181181 }
182182 m_isWinsockInitialized = true ;
183183 }
@@ -187,7 +187,7 @@ AsciiString IPEnumeration::getMachineName( void )
187187 if (gethostname (hostname, sizeof (hostname)))
188188 {
189189 DEBUG_LOG ((" Failed call to gethostname; WSAGetLastError returned %d" , WSAGetLastError ()));
190- return nullptr ;
190+ return AsciiString () ;
191191 }
192192
193193 return AsciiString (hostname);
You can’t perform that action at this time.
0 commit comments