projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stupid typo, spotted by GCC.
[u/mdw/putty]
/
mac
/
macstore.c
diff --git
a/mac/macstore.c
b/mac/macstore.c
index
5425efa
..
548b7ac
100644
(file)
--- a/
mac/macstore.c
+++ b/
mac/macstore.c
@@
-1,4
+1,4
@@
-/* $Id: macstore.c,v 1.1
8 2003/03/29 23:07:55 be
n Exp $ */
+/* $Id: macstore.c,v 1.1
9 2003/04/01 18:10:25 simo
n Exp $ */
/*
* macstore.c: Macintosh-specific impementation of the interface
/*
* macstore.c: Macintosh-specific impementation of the interface
@@
-116,13
+116,15
@@
struct write_settings {
FSSpec dstfile;
};
FSSpec dstfile;
};
-void *open_settings_w(char const *sessionname) {
+void *open_settings_w(char const *sessionname
, char **errmsg
) {
short sessVRefNum;
long sessDirID;
OSErr error;
Str255 psessionname;
FSSpec dstfile;
short sessVRefNum;
long sessDirID;
OSErr error;
Str255 psessionname;
FSSpec dstfile;
-
+
+ *errmsg = NULL;
+
error = get_session_dir(kCreateFolder, &sessVRefNum, &sessDirID);
if (error != noErr) return NULL;
error = get_session_dir(kCreateFolder, &sessVRefNum, &sessDirID);
if (error != noErr) return NULL;