openbsd-ports/news/plor/patches/patch-soupreply_c
naddy ab18dfc652 * fgetc() returns int
While we're here:
* prune useless docs
* md5 -> distinfo
* some cleanup
2002-02-20 20:59:13 +00:00

13 lines
584 B
Plaintext

$OpenBSD: patch-soupreply_c,v 1.1 2002/02/20 20:59:13 naddy Exp $
--- soupreply.c.orig Wed Feb 20 21:54:07 2002
+++ soupreply.c Wed Feb 20 21:54:20 2002
@@ -114,7 +114,7 @@ int edit_file(char* name, char* header,
char temp2[255]; /* call editor on headers */
char bufftmp[256]; /* buffer to read message to which we reply */
char strtmp[10]; /* tmp string to know the lenght message */
- char choice, c;
+ int choice, c;
int end=0, i=0;
int head_count=0; /* to distinguish header from body */
int byte_count=0; /* count bytes read from message */