Browse code

Fixing variable name in #else condition that broke the build on freebsd, other non-linux, non-mac, non-windows os's.

Micah Snyder authored on 2018/11/17 05:37:21
Showing 1 changed files
... ...
@@ -1077,7 +1077,7 @@ cl_error_t cli_get_filepath_from_filedesc(int desc, char** filepath)
1077 1077
 #else
1078 1078
 
1079 1079
 	cli_dbgmsg("cli_get_filepath_from_filedesc: No mechanism implemented to determine filename from file descriptor.\n");
1080
-	*filename = NULL;
1080
+	*filepath = NULL;
1081 1081
 	status = CL_BREAK;
1082 1082
 	goto done;
1083 1083