projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move the rest of the places to use AppendImportantMessage() or GetServerStatusMsg()
[citadel.git]
/
webcit
/
siteconfig.c
diff --git
a/webcit/siteconfig.c
b/webcit/siteconfig.c
index a5af547832212fee99e583ee8f19b0a5ae82266c..a2b429806693a45a76487195317ae8c1f4077275 100644
(file)
--- a/
webcit/siteconfig.c
+++ b/
webcit/siteconfig.c
@@
-35,8
+35,7
@@
void LoadExpirePolicy(GPEXWhichPolicy which)
WCC->Policy[which].expire_value = StrBufExtractNext_long(Buf, &Pos, '|');
}
else if (State == 550)
WCC->Policy[which].expire_value = StrBufExtractNext_long(Buf, &Pos, '|');
}
else if (State == 550)
- StrBufAppendBufPlain(WCC->ImportantMsg,
- _("Higher access is required to access this function."), -1, 0);
+ AppendImportantMessage(_("Higher access is required to access this function."), -1);
FreeStrBuf(&Buf);
}
FreeStrBuf(&Buf);
}
@@
-54,8
+53,7
@@
void SaveExpirePolicyFromHTTP(GPEXWhichPolicy which)
StrBuf_ServGetln(Buf);
GetServerStatus(Buf, &State);
if (State == 550)
StrBuf_ServGetln(Buf);
GetServerStatus(Buf, &State);
if (State == 550)
- StrBufAppendBufPlain(WC->ImportantMsg,
- _("Higher access is required to access this function."), -1, 0);
+ AppendImportantMessage(_("Higher access is required to access this function."), -1);
FreeStrBuf(&Buf);
}
FreeStrBuf(&Buf);
}