From d632ff96ead83da4c23c2468f5fbc6b121a71783 Mon Sep 17 00:00:00 2001 From: chombier <> Date: Mon, 2 Jul 2001 14:25:29 +0000 Subject: [PATCH] *** empty log message *** --- macssh/source/Sets/Sets.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/macssh/source/Sets/Sets.c b/macssh/source/Sets/Sets.c index a45192c..e9ac61a 100755 --- a/macssh/source/Sets/Sets.c +++ b/macssh/source/Sets/Sets.c @@ -875,6 +875,8 @@ static OSErr CStringItemToFile(short refNum, short index, char *value) theErr = FSWrite( refNum, &count, "\"\015" ); } } + } else { + theErr = noErr; } return theErr; } @@ -885,7 +887,7 @@ static OSErr CStringItemToFile(short refNum, short index, char *value) static OSErr PStringItemToFile(short refNum, short index, StringPtr value) { long count; - OSErr theErr = noErr; + OSErr theErr; Str255 tempStr; Str32 numStr; @@ -902,6 +904,8 @@ static OSErr PStringItemToFile(short refNum, short index, StringPtr value) theErr = FSWrite( refNum, &count, "\"\015" ); } } + } else { + theErr = noErr; } return theErr; }