changeset 61:9c5db7fee912

Make 'td log' work without printing an error.
author Daniel O'Connor <darius@dons.net.au>
date Mon, 08 Apr 2013 23:11:55 +0930
parents bbdf5642a7b7
children bb52e6dad784
files tempctrl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tempctrl.c	Mon Apr 08 23:11:35 2013 +0930
+++ b/tempctrl.c	Mon Apr 08 23:11:55 2013 +0930
@@ -527,8 +527,8 @@
 		printf("New path too log (%d > %d)\n", strlen(argv[1]), sizeof(settings.logfilefmt));
 	    else
 		strcpy(settings.logfilefmt, argv[1]);
+	}
 	return;
-	}
     }
     
     /* Handle setting the multitude of variables