Portability fix from schmitz@hp.com (Joachim Schmitz) for bug #548.
authorJeremy Allison <jra@samba.org>
Thu, 2 Oct 2003 17:36:45 +0000 (17:36 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 2 Oct 2003 17:36:45 +0000 (17:36 +0000)
Jeremy.

source/rpc_server/srv_spoolss_nt.c

index 493f58f8a8123734d4fe0bbf8bb9b8321a2733c2..f2fb02176b564b8a229522ddeceed63afd1d0a45 100644 (file)
@@ -1803,7 +1803,7 @@ Can't find printer handle we created for printer %s\n", name ));
                && (RA_WIN2K == get_remote_arch()) )
        {
                DEBUG(10,("_spoolss_open_printer_ex: Enabling LAN/WAN hack for Win2k clients.\n"));
-               usleep( 500000 );
+               sys_usleep( 500000 );
        }
 
        return WERR_OK;