blob: eb90bd240befbc01d73ff1019919d7f2a567d77f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
$NetBSD: patch-ab,v 1.5 1999/11/11 17:40:18 tv Exp $
--- pine/abookcpy.c.orig Wed Jun 23 15:15:26 1999
+++ pine/abookcpy.c Thu Nov 11 12:00:12 1999
@@ -48,6 +48,7 @@
void trim_addrbook_data PROTO((MAILSTREAM *, int));
void write_fake_headers PROTO((char *, char *, char *));
char *err_desc PROTO((int));
+#define err_desc(err) strerror(err)
int noshow_error = 0;
@@ -416,20 +417,6 @@
rfc822_header(where+strlen(where), fake_env, fake_body);
mail_free_envelope(&fake_env);
mail_free_body(&fake_body);
-}
-
-
-extern char *sys_errlist[];
-
-char *
-err_desc(err)
- int err;
-{
- static char buffer[50];
-
- strcpy(buffer, sys_errlist[err]);
-
- return((char *)buffer);
}
|