typo in a patch
This commit is contained in:
parent
f1f28dada3
commit
ebeca74cf6
@ -18,7 +18,7 @@ index a289866..f783e6c 100644
|
|||||||
+ * g_mkstemp(), which brings a small risk of overwriting another
|
+ * g_mkstemp(), which brings a small risk of overwriting another
|
||||||
* autosave file. The risk is, however, miniscule. */
|
* autosave file. The risk is, however, miniscule. */
|
||||||
- if (mktemp (path) == NULL) {
|
- if (mktemp (path) == NULL) {
|
||||||
+ fd = g_mkstemp (path)
|
+ fd = g_mkstemp (path);
|
||||||
+ if (fd == -1) {
|
+ if (fd == -1) {
|
||||||
g_free (path);
|
g_free (path);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user