diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2012-08-02 16:22:01 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2012-08-02 16:22:01 -0700 |
commit | 2aa53cbdd1bc43d5b22a762c2116fe490afc62f7 (patch) | |
tree | 4bd8aaf041896f68d1b17024269052dcf018cc42 /xrdpapi/xrdpapi.c | |
parent | 97ec29f9fff14aa28d1a0e22c3fcfea00a9dd4df (diff) | |
download | xrdp-proprietary-2aa53cbdd1bc43d5b22a762c2116fe490afc62f7.tar.gz xrdp-proprietary-2aa53cbdd1bc43d5b22a762c2116fe490afc62f7.zip |
xrdpapi: add cplusplus for header
Diffstat (limited to 'xrdpapi/xrdpapi.c')
-rw-r--r-- | xrdpapi/xrdpapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xrdpapi/xrdpapi.c b/xrdpapi/xrdpapi.c index 3190cd39..8223c3b2 100644 --- a/xrdpapi/xrdpapi.c +++ b/xrdpapi/xrdpapi.c @@ -151,6 +151,7 @@ send_init(struct wts_obj* wts) char initmsg[64]; memset(initmsg, 0, 64); + strncpy(initmsg, wts->name, 8); if (!can_send(wts->fd, 500)) { return 1; |