Fix thinko in open_address
authorSteven Luo <steven+maemo@steven676.net>
Sun, 13 Dec 2009 08:15:41 +0000 (00:15 -0800)
committerSteven Luo <steven+maemo@steven676.net>
Sun, 13 Dec 2009 08:15:41 +0000 (00:15 -0800)
commit6e58a3c82137f47f41b82a8426a2d6e8be7c39bc
tree9081224a1a3c6be89f91d9aed68b2fa75ffc49f9
parentb457229dd6ff2f6bdcfed158937df2c54862f41e
Fix thinko in open_address

if (!uri && uri[0] = '/') is obviously never going to be true ...
Fix by just giving up in the !uri case.

Strangely enough, I'm not hitting this in testing on the tablet --
perhaps gcc is optimizing out the test?
dbus-server-bindings.c