X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=lhnet.c;h=5d60a213c8d59bbd57f212d8e2a2597db1859215;hb=04ebd98618c773b10ada031f18b99f11020b559f;hp=cd60917f611d3293389b90d4b78e0ae237d4b2a0;hpb=7302f77677d2795bd53eeb06392a410783a6aa79;p=xonotic%2Fdarkplaces.git diff --git a/lhnet.c b/lhnet.c index cd60917f..5d60a213 100644 --- a/lhnet.c +++ b/lhnet.c @@ -124,7 +124,7 @@ int LHNETADDRESS_FromPort(lhnetaddress_t *vaddress, lhnetaddresstype_t addressty switch(addresstype) { default: - return 0; + break; case LHNETADDRESSTYPE_LOOP: // local:port (loopback) memset(address, 0, sizeof(*address));