mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-21 14:41:07 +08:00
c++: Fix typo in module-mapper [PR 98318]
User reported this typo: '0' and '-' are right next to each other, and as it happened I always had networking, so it went unnoticed. PR c++/98318 gcc/cp/ * mapper-client.cc (module_client::open_module_client): Fix typo of fd init.
This commit is contained in:
parent
75c74a83ac
commit
2bf9e68a95
@ -249,7 +249,7 @@ module_client::open_module_client (location_t loc, const char *o,
|
||||
if (port && endp != cptr + 1 && !*endp)
|
||||
{
|
||||
name[colon] = 0;
|
||||
int fd = 01;
|
||||
int fd = -1;
|
||||
#if CODY_NETWORKING
|
||||
fd = Cody::OpenInet6 (&errmsg, name.c_str (), port);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user