From: Oliver Kurth Date: Wed, 27 Feb 2019 22:39:57 +0000 (-0800) Subject: Tools Vix Plugin: minor cleanup remove unnecessary undefs X-Git-Tag: stable-11.0.0~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f23e764d01136eaf3aba5c91da2db334b4c9cb1a;p=thirdparty%2Fopen-vm-tools.git Tools Vix Plugin: minor cleanup remove unnecessary undefs A minor cleanup remove unnecessary undefs and fixing a misspelling in a function header. The function header somehow got removed from the previous clean up so here it is again anyway, with the addition of the spelling correction. --- diff --git a/open-vm-tools/services/plugins/vix/foundryToolsDaemon.c b/open-vm-tools/services/plugins/vix/foundryToolsDaemon.c index 5bbe73ed1..99a40a8c9 100644 --- a/open-vm-tools/services/plugins/vix/foundryToolsDaemon.c +++ b/open-vm-tools/services/plugins/vix/foundryToolsDaemon.c @@ -924,10 +924,6 @@ exit: } // ToolsDaemonTcloMountHGFS -#undef STRLEN_OF_MAX_64_BIT_NUMBER_AS_STRING -#undef OTHER_TEXT_SIZE - - /* *----------------------------------------------------------------------------- * diff --git a/open-vm-tools/services/plugins/vix/vixTools.c b/open-vm-tools/services/plugins/vix/vixTools.c index 00b40b1ce..9d4c9ed38 100644 --- a/open-vm-tools/services/plugins/vix/vixTools.c +++ b/open-vm-tools/services/plugins/vix/vixTools.c @@ -8595,15 +8595,15 @@ abort: * VixToolsProcessHgfsPacket -- * * This sends a packet to the HGFS server in the guest. - * We pass in the user credential type and authenication + * We parse the user credential type and authentication * information as strings, followed by the actual HGFS packet - * to send to the HGFS Server in the guest Tools. - * The recipient of this string is ToolsDaemonHgfsImpersonated, - * which lives in foundryToolsDaemon.c. It parses the authentication - * information, impersonates a user in the guest using - * ToolsDaemonImpersonateUser, and then calls HgfsServerManager_ProcessPacket - * to issue the HGFS packet to the HGFS Server. The HGFS Server - * replies with an HGFS packet, which will be forwarded back to + * that is to be sent to the HGFS Server in the guest Tools. + * + * The authentication information is used to impersonate a user + * in the guest using VixToolsImpersonateUser, and then calls + * HgfsServerManager_ProcessPacket to issue the HGFS packet to + * the HGFS Server. The HGFS Server reply is contained in the + * HGFS reply packet, which will be returned back to * us and handled in VMAutomationOnBackdoorCallReturns. * * Results: