Changeset a3ca3dd


Ignore:
Timestamp:
2024-08-21T10:18:36Z (4 months ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Parents:
684aca2
git-author:
Matthew Hague <matthewhague@…> (21-08-24 09:18:11)
git-committer:
Jelmer Vernooij <jelmer@…> (21-08-24 10:18:36)
Message:

Use unsigned integer for DCC IP addr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dcc.c

    r684aca2 ra3ca3dd  
    192192                struct sockaddr_in *saddr_ipv4 = ( struct sockaddr_in *) saddr;
    193193
    194                 sprintf(ipaddr, "%d",
     194                sprintf(ipaddr, "%u",
    195195                        ntohl(saddr_ipv4->sin_addr.s_addr));
    196196                port = saddr_ipv4->sin_port;
Note: See TracChangeset for help on using the changeset viewer.