#12319: Time/NTP sometimes crashes in gethostbyname()
----------------------------------+----------------------------
Reporter: ttcoder | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: Network & Internet | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 1 | Platform: All
----------------------------------+----------------------------
Comment (by axeld):
I didn't see the endless loop either, but I like the current version
better in any case.
Pointing out some minor style issues:
* There is always a space between `while` and '(' (line 150).
* Same as for `if` and '(' (line 158).
* We do like a newline at the end of the file so please don't remove that.
In general, always try to copy the style you find in the file you're
working on, when you're not sure about the coding style being used. It's
always best to [https://www.haiku-os.org/development/coding-guidelines
read through the coding guidelines], though :-)
Thanks for the update!
--
Ticket URL: <https://dev.haiku-os.org/ticket/12319#comment:15>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.