Skip to content

Fix id for PING and STATUS responses#377

Open
jajik wants to merge 2 commits intomodcluster:mainfrom
jajik:id
Open

Fix id for PING and STATUS responses#377
jajik wants to merge 2 commits intomodcluster:mainfrom
jajik:id

Conversation

@jajik
Copy link
Copy Markdown
Member

@jajik jajik commented Mar 20, 2026

restart_time is of type apr_int64_t, so (int) is not correct (it leads to ugly numbers)

@jajik jajik added the bug label Mar 20, 2026
@jajik jajik requested a review from jfclere March 20, 2026 15:57
@rhusar
Copy link
Copy Markdown
Member

rhusar commented Apr 20, 2026

@jfclere Please review.

Copy link
Copy Markdown
Member

@rhusar rhusar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using %ld is not fully portable. The fix should use APR_INT64_T_FMT instead.

See native/advertise/mod_advertise.c for example.

@jajik
Copy link
Copy Markdown
Member Author

jajik commented Apr 20, 2026

Using %ld is not fully portable. The fix should use APR_INT64_T_FMT instead.

See native/advertise/mod_advertise.c for example.

Good point. Fixed everywhere in the latest commit.

@jajik jajik requested a review from rhusar April 20, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants