diff options
author | Eduardo Chappa <chappa@washington.edu> | 2013-05-31 17:16:44 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2013-05-31 17:16:44 -0600 |
commit | a46157ba61f2c65f88b42abb31db60c4a714f87b (patch) | |
tree | e37bc41ad2f57b3fd2bad310576cc155a58ca6b7 /pith/adrbklib.c | |
parent | 81e994d7907f850506ddc248f84761a54995e58c (diff) | |
download | alpine-a46157ba61f2c65f88b42abb31db60c4a714f87b.tar.xz |
* somehow all.patch got here. Reversing.
Diffstat (limited to 'pith/adrbklib.c')
-rw-r--r-- | pith/adrbklib.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/pith/adrbklib.c b/pith/adrbklib.c index 904928b8..01d00353 100644 --- a/pith/adrbklib.c +++ b/pith/adrbklib.c @@ -5136,14 +5136,8 @@ init_addrbooks(OpenStatus want_status, int reset_to_top, int open_if_only_one, i if(as.cur >= as.how_many_personals) pab->type |= GLOBAL; - if(ps_global->mail_stream && - ps_global->mail_stream->lock && (pab->type & REMOTE_VIA_IMAP)){ - as.initialized = 0; - pab->access = NoAccess; - } - else{ - pab->access = adrbk_access(pab); - } + pab->access = adrbk_access(pab); + /* global address books are forced readonly */ if(pab->type & GLOBAL && pab->access != NoAccess) pab->access = ReadOnly; |