Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/assaultcube/AC
/ trimtrailingwhitespace
Function
trimtrailingwhitespace
source/src/protocol.cpp:486–490 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
484
}
485
486
void trimtrailingwhitespace(char *s)
487
{
488
for(int n = (int)strlen(s) - 1; n >= 0 && isspace(s[n]); n--)
489
s[n] =
'\0'
;
490
}
491
492
const char *modefullnames[] =
493
{
Callers
1
parse
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected