CVS commit by ossi:
don't use #ifdef inside htons() arguments - it can be a macro.
CCMAIL: Scott Gifford <[EMAIL PROTECTED]>
M +3 -3 drv_imap.c 1.33
--- isync/src/drv_imap.c #1.32:1.33
@@ -1262,9 +1262,9 @@ imap_open_store( store_conf_t *conf,
} else {
memset( &addr, 0, sizeof(addr) );
- addr.sin_port = htons( srvc->port ? srvc->port :
+ addr.sin_port = srvc->port ? htons( srvc->port ) :
#ifdef HAVE_LIBSSL
- srvc->use_imaps ? 993 :
+ srvc->use_imaps ? htons( 993 ) :
#endif
- 143 );
+ htons( 143 );
addr.sin_family = AF_INET;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel