This commit is contained in:
Nav
2022-03-19 15:17:07 +00:00
parent e65f89caf1
commit ab1a379efa
3 changed files with 9 additions and 7 deletions

View File

@@ -303,7 +303,7 @@ namespace Bloom::DebugServers::Gdb
);
}
int socketFileDescriptor;
int socketFileDescriptor = 0;
if ((socketFileDescriptor = ::socket(AF_INET, SOCK_STREAM, 0)) == 0) {
throw Exception("Failed to create socket file descriptor.");