Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 272961 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +4 lines)
Line  Link Here
0
-- src/network/net_udp.cpp
0
++ src/network/net_udp.cpp
Lines 178-184 Link Here
178
    struct hostent *local;
178
    struct hostent *local;
179
    char	buff[MAXHOSTNAMELEN]="\0";
179
    char	buff[MAXHOSTNAMELEN]="\0";
180
    struct sockaddr addr;
180
    struct sockaddr addr;
181
    char *colon;
181
    const char *colon;
182
182
183
#ifdef WIN32
183
#ifdef WIN32
184
    WSADATA		winsockdata;
184
    WSADATA		winsockdata;
Lines 232-240 Link Here
232
232
233
    ANET_GetSocketAddr (net_controlsocket, &addr);
233
    ANET_GetSocketAddr (net_controlsocket, &addr);
234
    my_tcpip_address=ANET_AddrToString (&addr);
234
    my_tcpip_address=ANET_AddrToString (&addr);
235
    colon = strrchr (my_tcpip_address, ':');
235
    colon = (strrchr (my_tcpip_address, ':'));
236
    if (colon)
236
    if (colon)
237
        *colon = 0;
237
        *const_cast<char*>(colon) = 0;
238
238
239
    //  Con_Printf("UDP Initialized\n");
239
    //  Con_Printf("UDP Initialized\n");
240
    tcpipAvailable = true;
240
    tcpipAvailable = true;

Return to bug 272961