Ticket #160 (closed defect: fixed)

Opened 14 months ago

Last modified 13 months ago

Patch: Fix compile error in subst/timegm.c

Reported by: markdoliner Owned by: smoku
Priority: major Component: General
Version: 2.1.17 Keywords:
Cc: Tracforge_linkmap:
Blocking: Blocked By:

Description

For some reason HAVE_TIMEGM is not defined on my system (Linux, Ubuntu Feisty Fawn), so the compiler tries to compile the timegm() function in subst/timegm.c. However, there appears to be a typo in this function.

timegm.c: In function 'timegm': timegm.c:37: error: implicit declaration of function '_snprintf'

Shouldn't that be snprintf()?

Attachments

jabberd2_fix_timegm_compile_error.diff (378 bytes) - added by markdoliner 14 months ago.

Change History

Changed 14 months ago by markdoliner

Changed 13 months ago by smoku

  • status changed from new to closed
  • resolution set to fixed

(In [429]) Fix compile error in subst/timegm.c. Fixes #160

Changed 13 months ago by smoku

Copy-Paste error. ;-)

Thanks for the patch.

Note: See TracTickets for help on using tickets.