projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove a couple of unused variables.
[u/mdw/putty]
/
unix
/
uxstore.c
diff --git
a/unix/uxstore.c
b/unix/uxstore.c
index
33b6d18
..
9d76726
100644
(file)
--- a/
unix/uxstore.c
+++ b/
unix/uxstore.c
@@
-172,7
+172,7
@@
void *open_settings_w(const char *sessionname, char **errmsg)
* to catch it now.
*/
filename = make_filename(INDEX_SESSIONDIR, NULL);
- if (
!mkdir(filename, 0700)
) {
+ if (
mkdir(filename, 0700) != 0
) {
char *filename2 = make_filename(INDEX_DIR, NULL);
mkdir(filename2, 0700);
sfree(filename2);