Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:26
erlang
otp_src_26.0-rc3-lib-kernel-inet_dns.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File otp_src_26.0-rc3-lib-kernel-inet_dns.patch of Package erlang
diff -Ndurp otp_src_26.0-rc3/lib/kernel/src/inet_dns.erl otp_src_26.0-rc3-lib-kernel-inet_dns/lib/kernel/src/inet_dns.erl --- otp_src_26.0-rc3/lib/kernel/src/inet_dns.erl 2023-04-12 11:49:17.000000000 +0300 +++ otp_src_26.0-rc3-lib-kernel-inet_dns/lib/kernel/src/inet_dns.erl 2023-04-30 15:09:35.666869792 +0300 @@ -340,7 +340,7 @@ encode_res_section_rr( T = encode_type(Type), C = encode_class(Class, CacheFlush), {Bin,Comp1} = encode_name(Bin0, Comp0, byte_size(Bin0), DName), - Pos = byte_size(Bin)+2+2+byte_size(TTL)+2, + Pos = byte_size(Bin)+(2+2)+byte_size(TTL)+2, {DataBin,Comp} = encode_data(Comp1, Pos, Type, Class, Data), DataSize = byte_size(DataBin), encode_res_section( @@ -782,7 +782,7 @@ encode_data(Comp, _, ?S_LOC, Data) -> Comp}; encode_data(Comp, Pos, ?S_SRV, Data) -> {Prio,Weight,Port,Target} = Data, - encode_name(<<Prio:16,Weight:16,Port:16>>, Comp, Pos+2+2+2, Target); + encode_name(<<Prio:16,Weight:16,Port:16>>, Comp, Pos+(2+2+2), Target); encode_data(Comp, Pos, ?S_NAPTR, Data) -> {Order,Preference,Flags,Services,Regexp,Replacement} = Data, B0 = <<Order:16,Preference:16>>,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor