Просмотр исходного кода
Merge trunk revision 2370:
r2370 | honzaf | 2009-07-23 07:50:56 -0700 (Thu, 23 Jul 2009) | 9 lines
Handle NULL ver string in service
In case user not enter ver: in service section, whole
corosync falled with segfaul, because atoi was called
on NULL.
Now, in case of NULL, we rather not use atoi, and
return 0 directly.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2425 fd59a12c-fef9-0310-b244-a6a79926bd2f