Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(45)

Unified Diff: src/cmd/upas/nfs/fs.c

Issue 5429044: mailfs: small fixes and plan 9 support
Patch Set: Created 13 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/cmd/upas/nfs/box.c ('k') | src/cmd/upas/nfs/imap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cmd/upas/nfs/fs.c
===================================================================
--- a/src/cmd/upas/nfs/fs.c
+++ b/src/cmd/upas/nfs/fs.c
@@ -93,6 +93,7 @@
Qid rootqid;
ulong t0;
+#ifdef PLAN9PORT
void
responderror(Req *r)
{
@@ -101,6 +102,7 @@
rerrstr(e, sizeof e);
respond(r, e);
}
+#endif
int
qtype(Qid q)
@@ -378,7 +380,8 @@
{
char *t;
int len;
-
+
+ USED(q);
if(p->msg->part[0] == p)
t = p->rawbody;
else
@@ -571,7 +574,7 @@
fmtstrinit(&fmt);
if(part == msg->part[0]){
if(msg->date)
- fmtprint(&fmt, "unixdate %lud %s", msg->date, ctime(msg->date));
+ fmtprint(&fmt, "unixdate %ud %s", msg->date, ctime(msg->date));
if(msg->flags){
filedata(Qflags, box, msg, part, pp, nil, freeme, 0, ZQ);
fmtprint(&fmt, "flags %s\n", buf);
@@ -1202,7 +1205,8 @@
fsrecv(void *v)
{
Req *r;
-
+
+ USED(v);
while((r = recvp(fsreqchan)) != nil){
switch(r->ifcall.type){
case Tattach:
« no previous file with comments | « src/cmd/upas/nfs/box.c ('k') | src/cmd/upas/nfs/imap.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b