From: Sebastian B. <sb...@us...> - 2014-02-22 19:52:47
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16620 Modified Files: tcp.h Log Message: Enabeld TCP_OK again. Index: tcp.h =================================================================== RCS file: /cvsroot/simplemail/simplemail/tcp.h,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- tcp.h 21 Feb 2014 06:39:08 -0000 1.18 +++ tcp.h 22 Feb 2014 19:52:45 -0000 1.19 @@ -65,7 +65,7 @@ int tcp_error_code(void); const char *tcp_strerror(int code); -struct connection *tcp_connect(char *server, unsigned int port, struct connect_options *options); +struct connection *tcp_connect(char *server, unsigned int port, struct connect_options *options, int *error_code); void tcp_disconnect(struct connection *conn); int tcp_make_secure(struct connection *conn); int tcp_secure(struct connection *conn); @@ -76,7 +76,7 @@ char *tcp_readln(struct connection *conn); int tcp_gethostname(char *buf, int buf_size); -/*#define TCP_OK 0*/ +#define TCP_OK 0 #define TCP_UNKNOWN -1 /* Unspecified error */ #define TCP_NOT_ENOUGH_MEMORY -2 /* Not enough memory */ #define TCP_NOT_SECURE -3 /* Connection couldn't made secure */ |