From 4d516594241e780e7ae46646a1094950dce2da1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Tue, 12 May 1998 18:26:40 +0200
Subject: [PATCH] Fixed typo

Rev: src/modules/files/file.c:1.96
---
 src/modules/files/file.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/files/file.c b/src/modules/files/file.c
index a5041dc33f..7768067465 100644
--- a/src/modules/files/file.c
+++ b/src/modules/files/file.c
@@ -5,7 +5,7 @@
 \*/
 
 #include "global.h"
-RCSID("$Id: file.c,v 1.95 1998/05/12 07:32:21 hubbe Exp $");
+RCSID("$Id: file.c,v 1.96 1998/05/12 16:26:40 grubba Exp $");
 #include "fdlib.h"
 #include "interpret.h"
 #include "svalue.h"
@@ -2100,7 +2100,7 @@ static int PIKE_CONCAT(Y,_function_number);
 #define FILE_FUNC(X,Y,Z) \
 void PIKE_CONCAT(Y,_ref) (INT32 args) {\
   struct object *o=REF; \
-  if(!o || !o-prog) error("Stdio.File(): not open.\n"); \
+  if(!o || !o->prog) error("Stdio.File(): not open.\n"); \
   if(o->prog != file_program) \
      error("Wrong type of object in Stdio.File->_fd\n"); \
   apply_low(o, PIKE_CONCAT(Y,_function_number), args); \
-- 
GitLab