]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Tools Vix Plugin: minor cleanup remove unnecessary undefs
authorOliver Kurth <okurth@vmware.com>
Wed, 27 Feb 2019 22:39:57 +0000 (14:39 -0800)
committerOliver Kurth <okurth@vmware.com>
Wed, 27 Feb 2019 22:39:57 +0000 (14:39 -0800)
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.

open-vm-tools/services/plugins/vix/foundryToolsDaemon.c
open-vm-tools/services/plugins/vix/vixTools.c

index 5bbe73ed10400462b826c9744acccac7c648cf7d..99a40a8c91e7d7adf0d7bc0f8dc5d6f07bb586b3 100644 (file)
@@ -924,10 +924,6 @@ exit:
 } // ToolsDaemonTcloMountHGFS
 
 
-#undef STRLEN_OF_MAX_64_BIT_NUMBER_AS_STRING
-#undef OTHER_TEXT_SIZE
-
-
 /*
  *-----------------------------------------------------------------------------
  *
index 00b40b1cec39b54b8ec16721db98c7c075d7acd8..9d4c9ed382627e68a43098a8baf91d4d7a9c4070 100644 (file)
@@ -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: