patch-src_shared_c 348 B

1234567891011121314
  1. $OpenBSD: patch-src_shared_c,v 1.1 2017/05/06 17:23:10 naddy Exp $
  2. Index: src/shared.c
  3. --- src/shared.c.orig
  4. +++ src/shared.c
  5. @@ -13,6 +13,6 @@ shared.c: shared stuff among slurpie.c and slurp.c.
  6. u_int strcpy_len( u_char *t, u_char *s )
  7. {
  8. u_char *low = s;
  9. - while( *(t++) = *(s++) );
  10. + while( (*(t++) = *(s++)) );
  11. return (s-low);
  12. }