diff --git a/src/elconv.c b/src/elconv.c index 251a35d1..5c3db0ad 100644 --- a/src/elconv.c +++ b/src/elconv.c @@ -5,7 +5,7 @@ Contents: Conversion program for ELOG messages - $Id:$ + $Id$ \********************************************************************/ diff --git a/src/elog.c b/src/elog.c index dc638e15..5b6abfd9 100755 --- a/src/elog.c +++ b/src/elog.c @@ -5,7 +5,7 @@ Contents: Electronic logbook utility - $Id:$ + $Id$ \********************************************************************/ @@ -248,7 +248,7 @@ void add_crlf(char *buffer, int bufsize) strlcpy(tmpbuf, p, bufsize); *(p++) = '\r'; - strlcpy(p, tmpbuf, bufsize - ( p - buffer)); + strlcpy(p, tmpbuf, bufsize - (p - buffer)); p++; } @@ -1024,7 +1024,7 @@ int main(int argc, char *argv[]) size = (INT) lseek(fh, 0, SEEK_END); lseek(fh, 0, SEEK_SET); - if (size > (INT)(sizeof(text) - 1)) { + if (size > (INT) (sizeof(text) - 1)) { printf("Message file \"%s\" is too long (%zd bytes max).\n", textfile, sizeof(text)); return 1; } diff --git a/src/elogd.c b/src/elogd.c index 0f70e7f4..aaa00f92 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -1028,8 +1028,8 @@ int subst_shell(char *cmd, char *result, int size) #ifdef OS_UNIX pid_t pid; - int fh; - char str[256]; + int fh; + char str[256]; if ((pid = fork()) < 0) return 0; @@ -15433,7 +15433,7 @@ BOOL is_command_allowed(LOGBOOK * lbs, char *command) /* only allow Submit & Co if "New" is allowed */ if (strstr(menu_str, "New")) strlcat(other_str, "Update, Upload, Submit, Save, ", sizeof(other_str)); - + /* add save for new user registration */ if (isparam("new_user_name")) strlcat(other_str, "Save, ", sizeof(other_str)); diff --git a/src/locext.c b/src/locext.c index a35ef79d..d3f78551 100755 --- a/src/locext.c +++ b/src/locext.c @@ -6,7 +6,7 @@ Contents: Extract all localization strings from elogd and put them into eloglang.xxxx - $Id:$ + $Id$ \********************************************************************/