summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-05-28 21:21:07 +0000
committerLuke Leighton <lkcl@samba.org>2000-05-28 21:21:07 +0000
commit4a0635cd6df183b0093a672616065fb44cdd2e0c (patch)
tree33c6beb5635aef8c3de82860c2ee430464c6c666 /source3
parentb38aa95bc9becb89fa1b966c7d6ecd91e3d47a99 (diff)
downloadsamba-4a0635cd6df183b0093a672616065fb44cdd2e0c.tar.gz
samba-4a0635cd6df183b0093a672616065fb44cdd2e0c.tar.bz2
samba-4a0635cd6df183b0093a672616065fb44cdd2e0c.zip
#ifdef not #if
(This used to be commit f0229102fe337213cd53fcb0a3d7e2ba786470b9)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index ba122e04f8..25d8f63aef 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -3853,7 +3853,7 @@ uint32 _spoolss_addprinterex( const UNISTR2 *uni_srv_name, uint32 level,
Modify internal driver heirarchy.
****************************************************************************/
-#if RELIES_ON_SMBD_FUNCTIONS_LINKED_INTO_SPOOLSSD
+#ifdef RELIES_ON_SMBD_FUNCTIONS_LINKED_INTO_SPOOLSSD
static uint32 modify_driver_heirarchy(NT_PRINTER_DRIVER_INFO_LEVEL *driver, uint32 level)
{
pstring path_old;
@@ -3910,7 +3910,7 @@ uint32 _spoolss_addprinterdriver( const UNISTR2 *server_name,
if (add_a_printer_driver(driver, level)!=0)
return ERROR_ACCESS_DENIED;
-#if RELIES_ON_SMBD_FUNCTIONS_LINKED_INTO_SPOOLSSD
+#ifdef RELIES_ON_SMBD_FUNCTIONS_LINKED_INTO_SPOOLSSD
if ((err = modify_driver_heirarchy(&driver, level)) != 0) {
safe_free(driver.info_3);
safe_free(driver.info_6);
@@ -3946,7 +3946,7 @@ static uint32 getprinterdriverdir_level_1(UNISTR2 *name, UNISTR2 *uni_environmen
unistr2_to_ascii(long_archi, uni_environment, sizeof(long_archi)-1);
get_short_archi(short_archi, long_archi);
-#if RELIES_ON_SMBD_FUNCTIONS_LINKED_INTO_SPOOLSSD
+#ifdef RELIES_ON_SMBD_FUNCTIONS_LINKED_INTO_SPOOLSSD
slprintf(path, sizeof(path)-1, "\\\\%s\\print$\\%s\\TMP_%u", global_myname, short_archi,
(unsigned int)sys_getpid());
#else