projects
/
cmccabe-bin
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
mp3splt-audiobook: use -f flag
[cmccabe-bin]
/
simple_time.c
diff --git
a/simple_time.c
b/simple_time.c
index
5906409
..
9bede48
100644
(file)
--- a/
simple_time.c
+++ b/
simple_time.c
@@
-24,13
+24,11
@@
int main(void)
{
while (1) {
char str[27];
- size_t len;
time_t t = time(NULL);
struct tm *tm = localtime(&t);
str[0] = '\0';
asctime_r(tm, str);
- len = strlen(str);
printf("\r");
strip_newlines(str);
printf("%s", str);