From 515d85cdac045300eca4eb278b384879d975097f Mon Sep 17 00:00:00 2001 From: didg Date: Wed, 11 Sep 2002 03:03:27 +0000 Subject: [PATCH] afp_createfile initalize of pointer before use help :( --- etc/afpd/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/afpd/file.c b/etc/afpd/file.c index fc441ad2..02a7f9f8 100644 --- a/etc/afpd/file.c +++ b/etc/afpd/file.c @@ -1,5 +1,5 @@ /* - * $Id: file.c,v 1.58 2002-09-07 19:18:59 didg Exp $ + * $Id: file.c,v 1.59 2002-09-11 03:03:27 didg Exp $ * * Copyright (c) 1990,1993 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. @@ -424,7 +424,7 @@ int ibuflen, *rbuflen; struct adouble ad, *adp; struct vol *vol; struct dir *dir; - struct ofork *of; + struct ofork *of = NULL; char *path, *upath; int creatf, did, openf, retvalue = AFP_OK; u_int16_t vid; -- 2.39.2