summaryrefslogtreecommitdiffstats
path: root/usr.bin/ncftp/util.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
commita14d555c873398b14776ca4f2c33f9c69617afb9 (patch)
tree350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/ncftp/util.c
parentf3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff)
downloadFreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip
FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/ncftp/util.c')
-rw-r--r--usr.bin/ncftp/util.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/ncftp/util.c b/usr.bin/ncftp/util.c
index ee2fba3..f8dfd5d 100644
--- a/usr.bin/ncftp/util.c
+++ b/usr.bin/ncftp/util.c
@@ -314,7 +314,7 @@ unsigned long UnLSDate(char *dstr)
cp++;
day += *cp++ - '0';
min = 0;
-
+
(void) time(&now);
t = localtime(&now);
@@ -376,7 +376,7 @@ unsigned long UnMDTMDate(char *dstr)
&ut.tm_hour,
&ut.tm_min,
&ut.tm_sec) == 6)
- {
+ {
--ut.tm_mon;
ut.tm_year -= 1900;
mt = mktime(&ut);
@@ -735,9 +735,9 @@ struct cmd *getcmd(char *name)
continue;
if (strncmp(name, p, len) == 0) {
if (++nmatches > 1) {
- found = ((struct cmd *) -1);
+ found = ((struct cmd *) -1);
goto xx;
- }
+ }
found = c;
} else if (found != NULL)
break;
@@ -796,7 +796,7 @@ char *LocalPath(char *path)
return (path);
}
/* Otherwise we can look at the first word of the path, and
- * try to expand it, like $HOME/ or ~/, or it is a relative path,
+ * try to expand it, like $HOME/ or ~/, or it is a relative path,
* which is okay since we won't really do anything with it.
*/
*cp = 0;
@@ -831,7 +831,7 @@ char *LocalPath(char *path)
}
if (rest == NULL)
(void) strcpy(path, firstent);
- else
+ else
(void) sprintf(path, "%s/%s", firstent, rest);
return (path);
} /* LocalPath */
OpenPOWER on IntegriCloud