9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Re: nedmail.c
@ 2003-08-05  0:46 boyd
  2003-08-05  1:09 ` David Presotto
  0 siblings, 1 reply; 2+ messages in thread
From: boyd @ 2003-08-05  0:46 UTC (permalink / raw)
  To: 9fans

looks good:

brahma% diff /n/sources/plan9/sys/src/cmd/upas/ned/nedmail.c src/upas/ned
1445d1444
< 	int i;
1494c1493,1499
< 	if(deld)
---
> 	switch(deld){
> 	case 0:
> 		break;
> 	case 1:
> 		Bprint(&out, "!1 message deleted\n");
> 		break;
> 	default:
1496,1500c1501,1502
<
< 	// renumber
< 	i = 1;
< 	for(m = top.child; m != nil; m = m->next)
< 		m->id = natural ? m->fileno : i++;
---
> 		break;
> 	}


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-05  1:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-05  0:46 [9fans] Re: nedmail.c boyd
2003-08-05  1:09 ` David Presotto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).