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

Unified Diff: src/cmd/upas/nfs/box.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/a.h ('k') | src/cmd/upas/nfs/fs.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cmd/upas/nfs/box.c
===================================================================
--- a/src/cmd/upas/nfs/box.c
+++ b/src/cmd/upas/nfs/box.c
@@ -208,7 +208,11 @@
a[ai].next = nil;
p.attr = a;
+#ifdef PLAN9PORT
snprint(buf, sizeof buf, "Mail/%s/%ud", m->box->name, m->id);
+#else
+ snprint(buf, sizeof buf, "/mail/fs/%s/%ud", m->box->name, m->id);
+#endif
p.ndata = strlen(buf);
p.data = buf;
« no previous file with comments | « src/cmd/upas/nfs/a.h ('k') | src/cmd/upas/nfs/fs.c » ('j') | no next file with comments »

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