summaryrefslogtreecommitdiffstats
path: root/libxrdp/libxrdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libxrdp/libxrdp.c')
-rw-r--r--libxrdp/libxrdp.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/libxrdp/libxrdp.c b/libxrdp/libxrdp.c
index 32ee2098..834e6ae3 100644
--- a/libxrdp/libxrdp.c
+++ b/libxrdp/libxrdp.c
@@ -105,7 +105,7 @@ libxrdp_get_pdu_bytes(const char *aheader)
}
/******************************************************************************/
-/* only used durring connection */
+/* only used during connection */
struct stream * APP_CC
libxrdp_force_read(struct trans* trans)
{
@@ -982,14 +982,6 @@ libxrdp_reset(struct xrdp_session *session,
return 1;
}
- /* process till up and running */
- session->up_and_running = 0;
-
- if (libxrdp_process_data(session, 0) != 0)
- {
- g_writeln("non handled error from libxrdp_process_data");
- }
-
return 0;
}
@@ -1082,7 +1074,7 @@ libxrdp_query_channel(struct xrdp_session *session, int index,
}
/*****************************************************************************/
-/* returns a zero based index of the channel, -1 if error or it dosen't
+/* returns a zero based index of the channel, -1 if error or it doesn't
exist */
int EXPORT_CC
libxrdp_get_channel_id(struct xrdp_session *session, char *name)