Add closeoscket() call so that program properly cleans up the socket
authorTheodore Tso <tytso@mit.edu>
Fri, 1 Mar 1996 05:04:16 +0000 (05:04 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 1 Mar 1996 05:04:16 +0000 (05:04 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7579 dc483132-0cff-0310-8789-dd5450dbe970

src/windows/gss/changelo
src/windows/gss/gss-clie.c

index aa59ceea9c26d800b18d7a98fd228cc0cdcafa45..72ffb123e38aed1abab5dcbe146ea3f6a0407d11 100644 (file)
@@ -1,3 +1,8 @@
+Thu Feb 29 13:25:07 1996  Theodore Y. Ts'o  <tytso@dcl>
+
+       * gss.c: Add closeoscket() call so that program properly
+               cleans up the socket.
+
 Thu Feb 29 01:23:01 1996  Theodore Y. Ts'o  <tytso@dcl>
 
        * gss.rc:
index 3a6c342663c526e2d87fb9e5b57ee6a1e45e4b58..1dc4d8054f6c72ef49d2d718419d4db186546676 100644 (file)
@@ -123,6 +123,8 @@ call_server (char *host, u_short port, char *service_name, char *msg)
         return -1;
     }
     (void) gss_release_buffer(&min_stat, &out_buf);
+
+    closesocket(s);
         
     return 0;
 }