It also appears in bootp_support.c: show_bootp().

Depending on the implementation of htons(), cyg_current_time() may end up getting called twice. Might be better to put the result of cyg_current_time() / 100 in a temporary variable and perform htons() on that.

Jay

On 3/9/2011 10:26 AM, [email protected] wrote:
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001170

--- Comment #1 from Sergei Gavrikov<[email protected]>  2011-03-09 
18:26:22 GMT ---
Created an attachment (id=1167)
  -->  (http://bugs.ecos.sourceware.org/attachment.cgi?id=1167)
Fixed byte order for bp_secs

diffstat /tmp/dhcp_prot.diff
  ChangeLog       |    5 +++++
  src/dhcp_prot.c |    2 +-
  2 files changed, 6 insertions(+), 1 deletion(-)

Grep shows 1 actual place. Hope that's it.


Reply via email to