summaryrefslogtreecommitdiff
path: root/news/nntp/files/patch-xmit-xmitauth.c
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-07-25 17:41:07 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-07-25 17:41:07 +0000
commit7f4dbf6c0dadc8f395756aed76eba11273765c98 (patch)
treeed8e735679e375211afb56d85b46e17d846cd4fe /news/nntp/files/patch-xmit-xmitauth.c
parentAdd aster 7.1, analyse des structures et thermo-mécanique. (diff)
- fix for CURRENT
math builtins are always visible in gcc33
Notes
Notes: svn path=/head/; revision=85589
Diffstat (limited to 'news/nntp/files/patch-xmit-xmitauth.c')
-rw-r--r--news/nntp/files/patch-xmit-xmitauth.c45
1 files changed, 45 insertions, 0 deletions
diff --git a/news/nntp/files/patch-xmit-xmitauth.c b/news/nntp/files/patch-xmit-xmitauth.c
new file mode 100644
index 000000000000..c47442d40b38
--- /dev/null
+++ b/news/nntp/files/patch-xmit-xmitauth.c
@@ -0,0 +1,45 @@
+--- xmit/xmitauth.c.orig Sat Dec 3 22:54:06 1994
++++ xmit/xmitauth.c Fri Jul 25 19:15:39 2003
+@@ -11,6 +11,7 @@
+
+ extern char Debug;
+ extern int converse();
++extern void nntpdlog();
+
+ FILE *sys;
+
+@@ -37,7 +38,7 @@
+ /* malformed entry? */
+ if (i != 3)
+ {
+- log(L_NOTICE,"malformed entry in nntp.sys");
++ nntpdlog(L_NOTICE,"malformed entry in nntp.sys");
+ continue;
+ }
+
+@@ -48,14 +49,14 @@
+ if (feof(sys))
+ {
+ sprintf(buf,"host %s authinfo not in nntp.sys", host);
+- log(L_NOTICE, buf);
++ nntpdlog(L_NOTICE, buf);
+ exit(1);
+ }
+
+ sprintf(buf,"authinfo user %s", user);
+ if (converse(buf, sizeof(buf)) != NEED_AUTHDATA)
+ {
+- log(L_NOTICE, buf);
++ nntpdlog(L_NOTICE, buf);
+ exit(1);
+ }
+
+@@ -66,7 +67,7 @@
+ sprintf(buf,"authinfo pass %s", pass);
+ if (converse(buf, sizeof(buf)) != OK_AUTH)
+ {
+- log(L_NOTICE, buf);
++ nntpdlog(L_NOTICE, buf);
+ exit(1);
+ }
+