Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
Browse Source
View Tickets
New Ticket
Search
Context Navigation
←
Previous Changeset
Next Changeset
→
Changeset 92f4ec5
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
2008-08-10T23:51:48Z (
16 years
ago)
Author:
ulim <a.sporto+bee@…>
Branches:
master
Children:
66be784
Parents:
a2b99ec
Message:
fixes bug on 32bit archs in DCC code.
Shouldn't atoi be the same on 64 and 32bits? Strange.
File:
1 edited
dcc.c
(modified)
(
1 diff
)
Legend:
Unmodified
Added
Removed
dcc.c
ra2b99ec
r92f4ec5
703
703
if ( pmatch[6].rm_so > 0 )
704
704
{
705
struct in_addr ipaddr = { .s_addr = htonl(
atoi( input + pmatch[5].rm_so
) ) };
705
struct in_addr ipaddr = { .s_addr = htonl(
strtoul( input + pmatch[5].rm_so, NULL, 10
) ) };
706
706
host = inet_ntoa( ipaddr );
707
707
} else
Note:
See
TracChangeset
for help on using the changeset viewer.
Download in other formats:
Unified Diff
Zip Archive