diff tempctrl.c @ 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 0916bfe3f418
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