From 922dec7601a54faac4b475bad9ebb5f74c30b61a Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 19 Aug 2014 17:21:49 +0200 Subject: Clean up a couple of warnings --- libcrystfel/src/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcrystfel') diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c index 9dd014df..fd051884 100644 --- a/libcrystfel/src/stream.c +++ b/libcrystfel/src/stream.c @@ -1060,7 +1060,7 @@ void write_geometry_file(Stream *st, const char *geom_filename) { do { rval = fgets(line, 1023, geom_fh); - fprintf(st->fh, line); + fputs(line, st->fh); } while ( rval != NULL ); fprintf(st->fh, GEOM_END_MARKER"\n"); fflush(st->fh); -- cgit v1.2.3