diff options
| author | David M. Syzdek <david@syzdek.net> | 2019-11-20 18:59:46 -0900 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2019-11-20 18:59:46 -0900 |
| commit | 6b9f6c81c6d2a7fd9e0c9a33453cfc4f8a2d12f5 (patch) | |
| tree | 2249f82ff41958b8be848246f9d98431fa425ab1 | |
| parent | 10f2af7b7f12852b7a1996838f1f397a5f727505 (diff) | |
| download | ldap-utils-6b9f6c81c6d2a7fd9e0c9a33453cfc4f8a2d12f5.tar.gz ldap-utils-6b9f6c81c6d2a7fd9e0c9a33453cfc4f8a2d12f5.tar.bz2 ldap-utils-6b9f6c81c6d2a7fd9e0c9a33453cfc4f8a2d12f5.tar.xz ldap-utils-6b9f6c81c6d2a7fd9e0c9a33453cfc4f8a2d12f5.zip | |
oidspectool: removing trailing '/' character from comments in generated source
| -rw-r--r-- | src/utils/oidspectool/oidspectool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/oidspectool/oidspectool.c b/src/utils/oidspectool/oidspectool.c index 7ccedd9..51a341a 100644 --- a/src/utils/oidspectool/oidspectool.c +++ b/src/utils/oidspectool/oidspectool.c | |||
| @@ -674,9 +674,9 @@ int my_save(int argc, char **argv) | |||
| 674 | tm_info = localtime(&timer); | 674 | tm_info = localtime(&timer); |
| 675 | strftime(buff, sizeof(buff), "%Y-%m-%d %H:%M:%S", tm_info); | 675 | strftime(buff, sizeof(buff), "%Y-%m-%d %H:%M:%S", tm_info); |
| 676 | fprintf(fs, "%s Generated on: %s\n", comment, buff); | 676 | fprintf(fs, "%s Generated on: %s\n", comment, buff); |
| 677 | fprintf(fs, "%s Generated with: %s \\\n", comment, argv[0]); | 677 | fprintf(fs, "%s Generated with: %s\n", comment, argv[0]); |
| 678 | for(pos = 1; pos < ((size_t)(argc-1)); pos++) | 678 | for(pos = 1; pos < ((size_t)(argc-1)); pos++) |
| 679 | fprintf(fs, "%s %s \\\n", comment, argv[pos]); | 679 | fprintf(fs, "%s %s\n", comment, argv[pos]); |
| 680 | fprintf(fs, "%s %s\n", comment, argv[pos]); | 680 | fprintf(fs, "%s %s\n", comment, argv[pos]); |
| 681 | fprintf(fs, "\n"); | 681 | fprintf(fs, "\n"); |
| 682 | fprintf(fs, "%s\n", comment); | 682 | fprintf(fs, "%s\n", comment); |
