Skip to content

Fix id for PING and STATUS responses#377

Open
jajik wants to merge 2 commits into
modcluster:mainfrom
jajik:id
Open

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

Conversation

@jajik

@jajik jajik commented Mar 20, 2026

Copy link
Copy Markdown
Member

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

rhusar commented Apr 20, 2026

Copy link
Copy Markdown
Member

@jfclere Please review.

@rhusar rhusar left a comment

Copy link
Copy Markdown
Member

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

jajik commented Apr 20, 2026

Copy link
Copy Markdown
Member Author

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