Typo fixes
This commit is contained in:
+1
-1
@@ -971,7 +971,7 @@ libxrdp_reset(struct xrdp_session *session,
|
||||
}
|
||||
|
||||
/* shut down the rdp client */
|
||||
if (xrdp_rdp_send_deactive((struct xrdp_rdp *)session->rdp) != 0)
|
||||
if (xrdp_rdp_send_deactivate((struct xrdp_rdp *)session->rdp) != 0)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
+1
-1
@@ -401,7 +401,7 @@ xrdp_rdp_process_data(struct xrdp_rdp *self, struct stream *s);
|
||||
int APP_CC
|
||||
xrdp_rdp_disconnect(struct xrdp_rdp *self);
|
||||
int APP_CC
|
||||
xrdp_rdp_send_deactive(struct xrdp_rdp *self);
|
||||
xrdp_rdp_send_deactivate(struct xrdp_rdp *self);
|
||||
|
||||
/* xrdp_orders.c */
|
||||
struct xrdp_orders * APP_CC
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
|
||||
struct xrdp_brush
|
||||
{
|
||||
int x_orgin;
|
||||
int y_orgin;
|
||||
int x_origin;
|
||||
int y_origin;
|
||||
int style;
|
||||
char pattern[8];
|
||||
};
|
||||
|
||||
+3
-3
@@ -508,8 +508,8 @@ xrdp_caps_process_codecs(struct xrdp_rdp *self, struct stream *s, int len)
|
||||
|
||||
/*****************************************************************************/
|
||||
static int APP_CC
|
||||
xrdp_caps_process_multifragmetupdate(struct xrdp_rdp *self, struct stream *s,
|
||||
int len)
|
||||
xrdp_caps_process_multifragmentupdate(struct xrdp_rdp *self, struct stream *s,
|
||||
int len)
|
||||
{
|
||||
int MaxRequestSize;
|
||||
|
||||
@@ -647,7 +647,7 @@ xrdp_caps_process_confirm_active(struct xrdp_rdp *self, struct stream *s)
|
||||
xrdp_caps_process_window(self, s, len);
|
||||
break;
|
||||
case 0x001A: /* 26 CAPSETTYPE_MULTIFRAGMENTUPDATE */
|
||||
xrdp_caps_process_multifragmetupdate(self, s, len);
|
||||
xrdp_caps_process_multifragmentupdate(self, s, len);
|
||||
break;
|
||||
case RDP_CAPSET_BMPCODECS: /* 0x1d(29) */
|
||||
xrdp_caps_process_codecs(self, s, len);
|
||||
|
||||
+1
-1
@@ -99,7 +99,7 @@ xrdp_iso_negotiate_security(struct xrdp_iso *self)
|
||||
default:
|
||||
if (self->requestedProtocol & PROTOCOL_SSL)
|
||||
{
|
||||
/* thats a patch since we don't support CredSSP for now */
|
||||
/* that's a patch since we don't support CredSSP for now */
|
||||
self->selectedProtocol = PROTOCOL_SSL;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -1014,18 +1014,18 @@ xrdp_orders_pat_blt(struct xrdp_orders *self, int x, int y,
|
||||
brush = &blank_brush;
|
||||
}
|
||||
|
||||
if (brush->x_orgin != self->orders_state.pat_blt_brush.x_orgin)
|
||||
if (brush->x_origin != self->orders_state.pat_blt_brush.x_origin)
|
||||
{
|
||||
present |= 0x0080;
|
||||
out_uint8(self->out_s, brush->x_orgin);
|
||||
self->orders_state.pat_blt_brush.x_orgin = brush->x_orgin;
|
||||
out_uint8(self->out_s, brush->x_origin);
|
||||
self->orders_state.pat_blt_brush.x_origin = brush->x_origin;
|
||||
}
|
||||
|
||||
if (brush->y_orgin != self->orders_state.pat_blt_brush.y_orgin)
|
||||
if (brush->y_origin != self->orders_state.pat_blt_brush.y_origin)
|
||||
{
|
||||
present |= 0x0100;
|
||||
out_uint8(self->out_s, brush->y_orgin);
|
||||
self->orders_state.pat_blt_brush.y_orgin = brush->y_orgin;
|
||||
out_uint8(self->out_s, brush->y_origin);
|
||||
self->orders_state.pat_blt_brush.y_origin = brush->y_origin;
|
||||
}
|
||||
|
||||
if (brush->style != self->orders_state.pat_blt_brush.style)
|
||||
|
||||
+6
-6
@@ -1155,7 +1155,7 @@ xrdp_rdp_process_data(struct xrdp_rdp *self, struct stream *s)
|
||||
xrdp_rdp_process_screen_update(self, s);
|
||||
break;
|
||||
case 35: /* 35(0x23) */
|
||||
/* 35 ?? this comes when minimuzing a full screen mstsc.exe 2600 */
|
||||
/* 35 ?? this comes when minimizing a full screen mstsc.exe 2600 */
|
||||
/* I think this is saying the client no longer wants screen */
|
||||
/* updates and it will issue a 33 above to catch up */
|
||||
/* so minimized apps don't take bandwidth */
|
||||
@@ -1193,18 +1193,18 @@ xrdp_rdp_disconnect(struct xrdp_rdp *self)
|
||||
|
||||
/*****************************************************************************/
|
||||
int APP_CC
|
||||
xrdp_rdp_send_deactive(struct xrdp_rdp *self)
|
||||
xrdp_rdp_send_deactivate(struct xrdp_rdp *self)
|
||||
{
|
||||
struct stream *s;
|
||||
|
||||
DEBUG(("in xrdp_rdp_send_deactive"));
|
||||
DEBUG(("in xrdp_rdp_send_deactivate"));
|
||||
make_stream(s);
|
||||
init_stream(s, 8192);
|
||||
|
||||
if (xrdp_rdp_init(self, s) != 0)
|
||||
{
|
||||
free_stream(s);
|
||||
DEBUG(("out xrdp_rdp_send_deactive error"));
|
||||
DEBUG(("out xrdp_rdp_send_deactivate error"));
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -1213,11 +1213,11 @@ xrdp_rdp_send_deactive(struct xrdp_rdp *self)
|
||||
if (xrdp_rdp_send(self, s, RDP_PDU_DEACTIVATE) != 0)
|
||||
{
|
||||
free_stream(s);
|
||||
DEBUG(("out xrdp_rdp_send_deactive error"));
|
||||
DEBUG(("out xrdp_rdp_send_deactivate error"));
|
||||
return 1;
|
||||
}
|
||||
|
||||
free_stream(s);
|
||||
DEBUG(("out xrdp_rdp_send_deactive"));
|
||||
DEBUG(("out xrdp_rdp_send_deactivate"));
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user