diff options
| author | hybrid <hybrid@hybridlabs.pro> | 2026-06-02 12:54:13 +0300 |
|---|---|---|
| committer | hybrid <hybrid@hybridlabs.pro> | 2026-06-02 12:54:13 +0300 |
| commit | c2ef4a1c93cd8a3e70eb4c7acb26f091545dba66 (patch) | |
| tree | 4000d90b48b354791df2453e0002df081c8db80b | |
| parent | c82fc3d7f5bac684218c347b0fc4648dbe43a797 (diff) | |
| download | cgit_auth-c2ef4a1c93cd8a3e70eb4c7acb26f091545dba66.tar.gz cgit_auth-c2ef4a1c93cd8a3e70eb4c7acb26f091545dba66.tar.bz2 cgit_auth-c2ef4a1c93cd8a3e70eb4c7acb26f091545dba66.zip | |
upd: additional space after each argument
Diffstat (limited to '')
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -30,11 +30,12 @@ int main(int argc, char **argv) { exit(EXIT_FAILURE); } - sprintf(tmp, "[%d] %s", i, argv[i]); + sprintf(tmp, "[%d] %s ", i, argv[i]); strcat(str, tmp); free(tmp); } + str[strlen(str)] = '\0'; syslog(LOG_DEBUG, "args: %s\n", str); |
