Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sfk
· 17y ago · 0 comments
The change reverses the logic of the expression, so I would expect the program to stop working - regardless of the value of the null pointer.
Comments
[–]
JeremyStein
17y ago
Bah. You're right. I meant ptr == 0 was changed to !ptr.