Преглед изворни кода

Patch from Wojtek to fix Solaris segfault with compiler optimization.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2267 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake пре 16 година
родитељ
комит
589f889fbe
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      exec/coroipcs.c

+ 1 - 1
exec/coroipcs.c

@@ -673,7 +673,7 @@ retry_recv:
  * Solaris and some BSD systems
  */
 	{
-		ucred_t *uc;
+		ucred_t *uc = NULL;
 		uid_t euid = -1;
 		gid_t egid = -1;