/[mailutils]/mailutils/imap4d/util.c
ViewVC logotype

Diff of /mailutils/imap4d/util.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.53 by gray, Tue Jan 28 21:44:46 2003 UTC revision 1.54 by gray, Mon Feb 3 11:27:02 2003 UTC
# Line 471  imap4d_readline (void) Line 471  imap4d_readline (void)
471          }          }
472        else if (rc)        else if (rc)
473          {          {
474            const char *p;            char *p;
475            if (stream_strerror (istream, &p))            if (stream_strerror (istream, &p))
476              p = strerror (errno);              p = strerror (errno);
477    
# Line 1113  void Line 1113  void
1113  util_set_input (stream_t str)  util_set_input (stream_t str)
1114  {  {
1115    if (istream)    if (istream)
1116      stream_destroy (istream, stream_get_owner (istream));      stream_destroy (&istream, stream_get_owner (istream));
1117    istream = str;    istream = str;
1118  }  }
1119    
# Line 1121  void Line 1121  void
1121  util_set_output (stream_t str)  util_set_output (stream_t str)
1122  {  {
1123    if (ostream)    if (ostream)
1124      stream_destroy (ostream, stream_get_owner (ostream));      stream_destroy (&ostream, stream_get_owner (ostream));
1125    ostream = str;    ostream = str;
1126  }  }
1127    
# Line 1188  imap4d_init_tls_server () Line 1188  imap4d_init_tls_server ()
1188    
1189    if (stream_open (stream))    if (stream_open (stream))
1190      {      {
1191        const char *p;        char *p;
1192        stream_strerror (stream, &p);        stream_strerror (stream, &p);
1193        syslog (LOG_ERR, _("cannot open TLS stream: %s"), p);        syslog (LOG_ERR, _("cannot open TLS stream: %s"), p);
1194        return 0;        return 0;

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26