freebsd-ports/japanese/mh/files/patch-support_pop_popser.c
2016-05-13 19:24:51 +00:00

29 lines
948 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- support/pop/popser.c.orig 1999-02-09 11:30:00 UTC
+++ support/pop/popser.c
@@ -259,7 +259,7 @@ static p_cmatch(), p_isdate(), p_ishead
extern int mbx_read ();
static int setup(), setupaux(), read_map(), read_file(), pmbx_size();
-static int quitaux(), quitfile(), respond(), getline();
+static int quitaux(), quitfile(), respond(), get_line();
static m_gMsgs(), multiline(), multiend(), putline();
/* */
@@ -410,7 +410,7 @@ char *rhost;
(void) respond (OK, "%s ready %s", server, timestamp);
for (mystate = auth1; mystate != halt && mystate != error;)
- switch (getline (buffer, sizeof buffer, input)) {
+ switch (get_line (buffer, sizeof buffer, input)) {
case OK:
if ((v = getvector (buffer, vec)) == NULL)
continue;
@@ -1850,7 +1850,7 @@ static multiend () {
/* */
-static int getline (s, n, iop)
+static int get_line (s, n, iop)
register char *s;
register int n;
register FILE *iop;