Author: mlytwyn
Date: Wed Feb 4 00:22:06 2015
New Revision: 38326
URL: http://svn.gna.org/viewcvs/gnustep?rev=38326&view=rev
Log:
Avahi crash fix is daemon restarted
Modified:
libs/base/branches/gnustep_testplant_branch/Source/GSAvahiClient.m
Modified: libs/base/branches/gnustep_testplant_branch/Source/GSAvahiClient.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Source/GSAvahiClient.m?rev=38326&r1=38325&r2=38326&view=diff
==============================================================================
--- libs/base/branches/gnustep_testplant_branch/Source/GSAvahiClient.m
(original)
+++ libs/base/branches/gnustep_testplant_branch/Source/GSAvahiClient.m Wed Feb
4 00:22:06 2015
@@ -175,7 +175,7 @@
}
[_lock unlock];
- if ((_client == NULL) || (*errNo != 0))
+ if ((_client == NULL) || ((errNo != NULL) && (*errNo != 0)))
{
NSWarnLog(@"client allocation error: %ld", *errNo);
}
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs