Opened 13 years ago

Closed 13 years ago

#80 closed defect (fixed)

Return correct error code when pj_gethostbyname() fails

Reported by: bennylp Owned by: bennylp
Priority: minor Milestone: release-0.5.10
Component: pjlib Version: 0.5.9
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Currently it will always return PJ_ERESOLVE, but it should return the appropriate native error code instead.

Change History (1)

comment:1 Changed 13 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r907.

Also in this changeset: include the canonical error name in Win32 error string.

Note: See TracTickets for help on using tickets.