From 8e74c5c3cc1ce9fe6801d5d381b7d97d30ba786f Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Fri, 2 Mar 2001 23:58:31 +0000
Subject: [PATCH] No functional change.

---
 src/sbbs3/download.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/sbbs3/download.cpp b/src/sbbs3/download.cpp
index e5afffbec9..d3a53c187c 100644
--- a/src/sbbs3/download.cpp
+++ b/src/sbbs3/download.cpp
@@ -167,7 +167,7 @@ void sbbs_t::notdownloaded(ulong size, time_t start, time_t end)
 /****************************************************************************/
 int sbbs_t::protocol(char *cmdline, int cd)
 {
-	char	protlog[256],*p=NULL;
+	char	protlog[256],*p;
 	char	msg[256];
     int		i;
 	FILE*	stream;
@@ -186,6 +186,8 @@ int sbbs_t::protocol(char *cmdline, int cd)
 	//lprintf("%s",cmdline);
 	if(cd) 
 		p=cfg.temp_dir;
+	else
+		p=NULL;
 	sprintf(msg,"Transferring %s",cmdline);
 	spymsg(msg);
 	sys_status|=SS_FILEXFER;
-- 
GitLab