svn commit: samba r10290 - in trunk/source/libsmb: .

vlendec at samba.org vlendec at samba.org
Sat Sep 17 07:48:50 GMT 2005


Author: vlendec
Date: 2005-09-17 07:48:49 +0000 (Sat, 17 Sep 2005)
New Revision: 10290

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10290

Log:
Fix an abstraction violation
Modified:
   trunk/source/libsmb/smb_share_modes.c


Changeset:
Modified: trunk/source/libsmb/smb_share_modes.c
===================================================================
--- trunk/source/libsmb/smb_share_modes.c	2005-09-17 06:21:08 UTC (rev 10289)
+++ trunk/source/libsmb/smb_share_modes.c	2005-09-17 07:48:49 UTC (rev 10290)
@@ -442,7 +442,7 @@
 		struct process_id pid = share->pid;
 
 		/* Check this process really exists. */
-		if (kill(pid.pid, 0) == -1 && (errno == ESRCH)) {
+		if (kill(procid_to_pid(&pid), 0) == -1 && (errno == ESRCH)) {
 			continue; /* No longer exists. */
 		}
 



More information about the samba-cvs mailing list