Skip to content

Commit f4fe884

Browse files
committed
Fixing compile error.
1 parent d2442d4 commit f4fe884

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libxrdp/xrdp_sec.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2306,6 +2306,7 @@ process_monitor_stream(struct stream *s, int full_parameters) {
23062306
int NumMonitor;
23072307
struct monitor_info *monitor_layout;
23082308
struct xrdp_rect rect = {8192, 8192, -8192, -8192};
2309+
int got_primary = 0;
23092310

23102311
in_uint32_le(s, NumMonitor);
23112312
LOG(LOG_LEVEL_DEBUG, " NumMonitor %d", NumMonitor);
@@ -2320,8 +2321,6 @@ process_monitor_stream(struct stream *s, int full_parameters) {
23202321

23212322
description->monitorCount = NumMonitor;
23222323

2323-
int got_primary = 0;
2324-
23252324
for (int monitor_index = 0; monitor_index < NumMonitor; ++monitor_index)
23262325
{
23272326
if (!s_check_rem_and_log(s, full_parameters == 0 ? 20 : 40, "Parsing monitor definitions."))

0 commit comments

Comments
 (0)