pkgsrc/games/tanked/patches/patch-ad
1998-08-07 10:35:47 +00:00

14 lines
480 B
Text

$NetBSD: patch-ad,v 1.2 1998/08/07 10:40:43 agc Exp $
--- server/motd.c.orig Sat Apr 11 18:34:29 1998
+++ server/motd.c Fri Jul 31 03:47:57 1998
@@ -31,3 +31,3 @@
- if ((mf = fopen("./.motd", "r")) == 0) {
+ if ((mf = fopen(TANKDIR "/motd", "r")) == 0) {
printf("No motd file, I'm bummed :-(\n");
@@ -47,3 +47,3 @@
/* read into motd array */
- mf = fopen("./.motd", "r");
+ mf = fopen(TANKDIR "/motd", "r");
for (i = 0; i < GLO_motdLines; i++) {