pts-error-message-cleanup-20011031
[openafs.git] / src / ptserver / pts.c
index 7546c9f..8ef3fe2 100644 (file)
@@ -72,7 +72,7 @@ int GetGlobals (as)
        code = pr_Initialize(sec, AFSDIR_CLIENT_ETC_DIRPATH, cell);
     }
     if (code) {
-       com_err (whoami, code, "Couldn't initialize");
+       com_err (whoami, code, "while initializing");
        return code;
     }
     if (as->parms[19].items)
@@ -833,7 +833,14 @@ int main (argc, argv)
 {
     register afs_int32 code;
     register struct cmd_syndesc *ts;
+#ifdef WIN32
+    WSADATA WSAjunk;
+#endif
 
+#ifdef WIN32
+    WSAStartup(0x0101, &WSAjunk);
+#endif
+    
 #ifdef AFS_AIX32_ENV
     /*
      * The following signal action for AIX is necessary so that in case of a