diff src/smb/smb.c @ 872:ad00b785dec0 trunk

[svn] - Slight tweak ... smbc_init returns 0 on sucess, not fail
author nazca
date Sat, 17 Mar 2007 00:25:24 -0700
parents f51f658b8e9c
children 84413425840f
line wrap: on
line diff
--- a/src/smb/smb.c	Sat Mar 17 00:07:05 2007 -0700
+++ b/src/smb/smb.c	Sat Mar 17 00:25:24 2007 -0700
@@ -197,7 +197,7 @@
 	int err;
 
 	err = smbc_init(smb_auth_fn, 1);
-	if (err <= 0)
+	if (err < 0)
 	{
 		g_message("[smb] not starting samba support due to error code %d", err);
 		return;