summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-07-11 04:53:39 +0000
committerGerald Carter <jerry@samba.org>2002-07-11 04:53:39 +0000
commit137570cb037f75131241c3ae13a372803d21fbe1 (patch)
tree826faf117a5ac2634da3a21405d6e13c01289524 /source3/smbd
parent8fb570e6e0c748a9e7bf3d4207302e8dfb6ae779 (diff)
downloadsamba-137570cb037f75131241c3ae13a372803d21fbe1.tar.gz
samba-137570cb037f75131241c3ae13a372803d21fbe1.tar.bz2
samba-137570cb037f75131241c3ae13a372803d21fbe1.zip
last check in for tonight.
* DeletePrinterDriverEx() now has the ability to delete driver files. I need to do some more testing tro veriofy that we are in fact not deleting a file out from under another driver, but it looks ok so far. * DeletePrinterDriver() noiw deletes all versions of the specified driver (cversion == 0, 1, 2, 3) (This used to be commit 17bb780e1327663fa2fcd6a3cb25dd461a29c537)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 19bdc0e4b0..df930575d3 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -723,7 +723,7 @@ connection_struct *make_connection_with_chdir(const char *service_in, DATA_BLOB
* so we have to do it as a separate step --jerry
*/
- if (vfs_ChDir(conn,conn->connectpath) != 0) {
+ if ( conn && vfs_ChDir(conn,conn->connectpath) != 0 ) {
DEBUG(0,("move_driver_to_download_area: Can't change directory to %s for [print$] (%s)\n",
conn->connectpath,strerror(errno)));
yield_connection(conn, lp_servicename(SNUM(conn)));