Commit 89663cf1 authored by Elliot Lee's avatar Elliot Lee
Browse files

g_strdup already checks for NULL parameter - no need.



* src/ntl-uri-map.c: g_strdup already checks for NULL parameter - no need.
parent 7c7932a8
2000-01-31 Elliot Lee <sopwith@redhat.com>
* src/ntl-uri-map.c: g_strdup already checks for NULL parameter - no need.
2000-01-31 Darin Adler <darin@eazel.com>
NautilusDirectory is now in charge of loading directories.
......
......@@ -257,7 +257,7 @@ nautilus_navinfo_new(Nautilus_NavigationRequestInfo *nri,
navinfo->navinfo.referring_content_type = old_navinfo->content_type;
}
navinfo->navinfo.requested_uri = g_strdup(nri->requested_uri == NULL ? "" : nri->requested_uri);
navinfo->navinfo.requested_uri = g_strdup(nri->requested_uri);
nautilus_navinfo_map(navinfo);
......
......@@ -257,7 +257,7 @@ nautilus_navinfo_new(Nautilus_NavigationRequestInfo *nri,
navinfo->navinfo.referring_content_type = old_navinfo->content_type;
}
navinfo->navinfo.requested_uri = g_strdup(nri->requested_uri == NULL ? "" : nri->requested_uri);
navinfo->navinfo.requested_uri = g_strdup(nri->requested_uri);
nautilus_navinfo_map(navinfo);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment