Skip to content

Fix calculate uwsgi.max_procname#2669

Draft
shadchin wants to merge 1 commit intounbit:uwsgi-2.0from
shadchin:uwsgi-2.0
Draft

Fix calculate uwsgi.max_procname#2669
shadchin wants to merge 1 commit intounbit:uwsgi-2.0from
shadchin:uwsgi-2.0

Conversation

@shadchin
Copy link
Copy Markdown

@shadchin shadchin commented Sep 7, 2024

Fixing double addition of 1

if (i == 0 || argv[0] + uwsgi.max_procname + 1 == argv[i]) { // wrong addition 1
  uwsgi.max_procname += strlen(argv[i]) + 1;  // addition 1
}

@shadchin shadchin marked this pull request as draft September 16, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant