blob: 8216555838874db5ba9614d3ff9b2a11dd509540 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
*** imap/ANSI/c-client/news.c.orig Thu May 16 03:50:02 1996
--- imap/ANSI/c-client/news.c Fri Sep 20 13:44:42 1996
***************
*** 309,315 ****
stream->mailbox + 1);
while (s = strchr (s,'.')) *s = '/';
/* scan directory */
! if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) {
stream->local = fs_get (sizeof (NEWSLOCAL));
LOCAL->dirty = NIL; /* no update to .newsrc needed yet */
LOCAL->dir = cpystr (tmp); /* copy directory name for later */
--- 309,315 ----
stream->mailbox + 1);
while (s = strchr (s,'.')) *s = '/';
/* scan directory */
! if ((nmsgs = scandir (tmp,&names,news_select,(void*)news_numsort)) >= 0) {
stream->local = fs_get (sizeof (NEWSLOCAL));
LOCAL->dirty = NIL; /* no update to .newsrc needed yet */
LOCAL->dir = cpystr (tmp); /* copy directory name for later */
|