From 22442872504b0b7f1501b23464898d5d88ee270a Mon Sep 17 00:00:00 2001
From: "Rob Swindell (on ChromeOS)" <rob@synchro.net>
Date: Mon, 13 Jan 2025 18:44:27 -0800
Subject: [PATCH] Add missing closing bracket in #ifdef'd out code block

Causing uncrustify (0.80) to assert:

do_source_file: Parsing: execmisc.cpp as language CPP
parse_cleanup(479): pc orig line is 1257, orig col is 55, Text() is ')', type is PAREN_CLOSE
parse_cleanup(485): (frm.top().type + 1) is SQUARE_CLOSE
parse_cleanup(492): File: execmisc.cpp, orig line is 1257, orig col is 55, Error: Unexpected ')' for 'SQUARE_OPEN', which was on line 1257
---
 src/sbbs3/execmisc.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/execmisc.cpp b/src/sbbs3/execmisc.cpp
index 2145fc9c4b..d63737d42a 100644
--- a/src/sbbs3/execmisc.cpp
+++ b/src/sbbs3/execmisc.cpp
@@ -1254,7 +1254,7 @@ int sbbs_t::exec_misc(csi_t* csi, const char *path)
 	#if 0 /* ftime */
 					if(lp1 && (uint)*lp1<csi->files && lp2) {
 						ft=unixtoftime(*lp2);
-						setftime(fileno(csi->file[*lp1),&ft);
+						setftime(fileno(csi->file[*lp1]),&ft);
 					}
 	#endif
 					return(0);
-- 
GitLab