Fix a segfault
authorVolker Lendecke <vl@samba.org>
Tue, 22 Jan 2008 08:13:25 +0000 (09:13 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 22 Jan 2008 08:16:28 +0000 (09:16 +0100)
commitc8def5564739c4c754001f84fcfb77f1093b96c3
tree1052cd6948cbae8baf9cc3e4dfdac3f538a0b8d5
parent196e4ce8c5dd5aab518aaa7d170eb1fb5d66bcd1
Fix a segfault

Found by the IBM checker.

Jeremy, you changed this from 'dirname == 0' which does not make sense at all
in the old code to '!dirname == 0' which from my point of view makes even less
sense, because the precedence of ! is according to Harbison/Steele higher than
the precedence of ==. Please check that the code now actually does what it's
supposed to do.

Thanks!
source/smbd/utmp.c