svn commit: samba r13388 - in branches/SAMBA_4_0/source/client: .
jpeach at samba.org
jpeach at samba.org
Wed Feb 8 05:14:48 GMT 2006
Author: jpeach
Date: 2006-02-08 05:14:48 +0000 (Wed, 08 Feb 2006)
New Revision: 13388
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13388
Log:
Report a more helpful error with malformed file options of
the form //server/share (ie. remote path missing).
Modified:
branches/SAMBA_4_0/source/client/cifsddio.c
Changeset:
Modified: branches/SAMBA_4_0/source/client/cifsddio.c
===================================================================
--- branches/SAMBA_4_0/source/client/cifsddio.c 2006-02-08 05:13:11 UTC (rev 13387)
+++ branches/SAMBA_4_0/source/client/cifsddio.c 2006-02-08 05:14:48 UTC (rev 13388)
@@ -301,6 +301,11 @@
{
struct smb_handle * smbh;
+ if (path == NULL || *path == '\0') {
+ fprintf(stderr, "%s: missing path name within share //%s/%s\n",
+ PROGNAME, host, share);
+ }
+
DEBUG(4, ("opening SMB stream to //%s/%s for %s\n",
host, share, path));
More information about the samba-cvs
mailing list