gnome_vfs_uri_hash() bug?
- From: Ken Ishii <keni4i yahoo com>
- To: gnome-vfs-list gnome org
- Subject: gnome_vfs_uri_hash() bug?
- Date: Sun, 4 Jun 2006 12:51:53 -0700 (PDT)
gnome_vfs_uri_hash() has the following code section:
for (uri_p = uri; uri_p != NULL; uri_p = uri_p->parent) {
HASH_STRING (hash_value, uri_p->text);
HASH_STRING (hash_value, uri_p->method_string);
if (uri_p->parent != NULL) {
const GnomeVFSToplevelURI *toplevel;
toplevel = (const GnomeVFSToplevelURI *) uri_p;
Since GnomeVFSToplevelURI is defined to be an URI without a parent,
shouldn't
if (uri_p->parent != NULL)
be
if (uri_p->parent == NULL)
instead?
Ken Ishii
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]