From: <svn...@op...> - 2009-04-16 15:23:09
|
Author: bellmich Date: Thu Apr 16 17:22:51 2009 New Revision: 1052 URL: http://libsyncml.opensync.org/changeset/1052 Log: If there are no options then don't use new_with_options. (This can result in an unexpected va_list handling by libsoup.) Modified: trunk/libsyncml/transports/http_client.c Modified: trunk/libsyncml/transports/http_client.c ============================================================================== --- trunk/libsyncml/transports/http_client.c Thu Apr 16 15:10:20 2009 (r1051) +++ trunk/libsyncml/transports/http_client.c Thu Apr 16 17:22:51 2009 (r1052) @@ -318,12 +318,12 @@ NULL); } else { #ifdef HAVE_LIBSOUP22_SOLARIS - env->session = soup_session_sync_new_with_options( + env->session = soup_session_sync_new(); #else env->session = soup_session_async_new_with_options( SOUP_SESSION_ASYNC_CONTEXT, env->tsp->context, -#endif NULL); +#endif } } if (!env->session) { |