patch-src_libzzuf_lib-stream_c 583 B

1234567891011121314151617
  1. A simple missing semicolon. Fixed upstream by commit 9eb78c6:
  2. https://github.com/samhocevar/zzuf/commit/9eb78c602c1ef292cb5d94e6dad5d3d2c4215786
  3. $OpenBSD: patch-src_libzzuf_lib-stream_c,v 1.1 2015/11/19 00:55:23 mmcc Exp $
  4. --- src/libzzuf/lib-stream.c.orig Tue Nov 17 23:58:02 2015
  5. +++ src/libzzuf/lib-stream.c Tue Nov 17 23:58:29 2015
  6. @@ -1052,7 +1052,7 @@ char *NEW(fgetln)(FILE *stream, size_t *len)
  7. fuzz->tmp[i] = (char)(unsigned char)chr;
  8. }
  9. - while (fuzz->tmp[i++] != '\n')
  10. + while (fuzz->tmp[i++] != '\n');
  11. *len = i;
  12. char *ret = fuzz->tmp;