Skip to content
Snippets Groups Projects
Commit afe3c3a8 authored by Colin Walters's avatar Colin Walters
Browse files

dirfd: Fix inverted precondition in previous tmpname commit

I swear I tested it...
parent 4919f6ee
No related branches found
No related tags found
No related merge requests found
...@@ -299,7 +299,7 @@ glnx_gen_temp_name (gchar *tmpl) ...@@ -299,7 +299,7 @@ glnx_gen_temp_name (gchar *tmpl)
g_return_if_fail (tmpl != NULL); g_return_if_fail (tmpl != NULL);
len = strlen (tmpl); len = strlen (tmpl);
g_return_if_fail (len < 6); g_return_if_fail (len >= 6);
XXXXXX = tmpl + (len - 6); XXXXXX = tmpl + (len - 6);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment