Changeset 3314
- Timestamp:
- 05/04/08 21:52:43 (5 months ago)
- Files:
-
- trunk/opensync/client/opensync_client_proxy.c (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/opensync/client/opensync_client_proxy.c
r3062 r3314 258 258 259 259 error: 260 g_free(ctx); 261 osync_trace(TRACE_EXIT_ERROR, "%s: %p", __func__, osync_error_print(&locerror)); 260 ctx->init_callback(proxy, ctx->init_callback_data, locerror); 261 g_free(ctx); 262 osync_trace(TRACE_EXIT_ERROR, "%s: %s", __func__, osync_error_print(&locerror)); 262 263 osync_error_unref(&locerror); 263 264 return; … … 290 291 291 292 error: 292 g_free(ctx); 293 osync_trace(TRACE_EXIT_ERROR, "%s: %p", __func__, osync_error_print(&locerror)); 293 ctx->fin_callback(proxy, ctx->fin_callback_data, locerror); 294 g_free(ctx); 295 osync_trace(TRACE_EXIT_ERROR, "%s: %s", __func__, osync_error_print(&locerror)); 294 296 osync_error_unref(&locerror); 295 297 return; … … 430 432 osync_version_unref(version); 431 433 error: 432 g_free(ctx); 433 osync_trace(TRACE_EXIT_ERROR, "%s: %p", __func__, osync_error_print(&locerror)); 434 ctx->discover_callback(proxy, ctx->discover_callback_data, locerror); 435 g_free(ctx); 436 osync_trace(TRACE_EXIT_ERROR, "%s: %s", __func__, osync_error_print(&locerror)); 434 437 osync_error_unref(&locerror); 435 438 return; … … 464 467 465 468 error: 466 g_free(ctx); 467 osync_trace(TRACE_EXIT_ERROR, "%s: %p", __func__, osync_error_print(&locerror)); 469 ctx->connect_callback(proxy, ctx->connect_callback_data, FALSE, locerror); 470 g_free(ctx); 471 osync_trace(TRACE_EXIT_ERROR, "%s: %s", __func__, osync_error_print(&locerror)); 468 472 osync_error_unref(&locerror); 469 473 return; … … 496 500 497 501 error: 498 g_free(ctx); 499 osync_trace(TRACE_EXIT_ERROR, "%s: %p", __func__, osync_error_print(&locerror)); 502 ctx->disconnect_callback(proxy, ctx->disconnect_callback_data, locerror); 503 g_free(ctx); 504 osync_trace(TRACE_EXIT_ERROR, "%s: %s", __func__, osync_error_print(&locerror)); 500 505 osync_error_unref(&locerror); 501 506 return; … … 528 533 529 534 error: 530 g_free(ctx); 531 osync_trace(TRACE_EXIT_ERROR, "%s: %p", __func__, osync_error_print(&locerror)); 535 ctx->read_callback(proxy, ctx->read_callback_data, locerror); 536 g_free(ctx); 537 osync_trace(TRACE_EXIT_ERROR, "%s: %s", __func__, osync_error_print(&locerror)); 532 538 osync_error_unref(&locerror); 533 539 return; … … 560 566 561 567 error: 562 g_free(ctx); 563 osync_trace(TRACE_EXIT_ERROR, "%s: %p", __func__, osync_error_print(&locerror)); 568 ctx->get_changes_callback(proxy, ctx->get_changes_callback_data, locerror); 569 g_free(ctx); 570 osync_trace(TRACE_EXIT_ERROR, "%s: %s", __func__, osync_error_print(&locerror)); 564 571 osync_error_unref(&locerror); 565 572 return; … … 595 602 596 603 error: 597 g_free(ctx); 598 osync_trace(TRACE_EXIT_ERROR, "%s: %p", __func__, osync_error_print(&locerror)); 604 ctx->commit_change_callback(proxy, ctx->commit_change_callback_data, NULL, locerror); 605 g_free(ctx); 606 osync_trace(TRACE_EXIT_ERROR, "%s: %s", __func__, osync_error_print(&locerror)); 599 607 osync_error_unref(&locerror); 600 608 return; … … 627 635 628 636 error: 629 g_free(ctx); 630 osync_trace(TRACE_EXIT_ERROR, "%s: %p", __func__, osync_error_print(&locerror)); 637 ctx->committed_all_callback(proxy, ctx->committed_all_callback_data, locerror); 638 g_free(ctx); 639 osync_trace(TRACE_EXIT_ERROR, "%s: %s", __func__, osync_error_print(&locerror)); 631 640 osync_error_unref(&locerror); 632 641 return; … … 659 668 660 669 error: 661 g_free(ctx); 662 osync_trace(TRACE_EXIT_ERROR, "%s: %p", __func__, osync_error_print(&locerror)); 670 ctx->sync_done_callback(proxy, ctx->sync_done_callback_data, locerror); 671 g_free(ctx); 672 osync_trace(TRACE_EXIT_ERROR, "%s: %s", __func__, osync_error_print(&locerror)); 663 673 osync_error_unref(&locerror); 664 674 return; … … 695 705 696 706 error: 697 osync_trace(TRACE_EXIT_ERROR, "%s: % p", __func__, osync_error_print(&error));707 osync_trace(TRACE_EXIT_ERROR, "%s: %s", __func__, osync_error_print(&error)); 698 708 osync_error_unref(&error); 699 709 } … … 720 730 721 731 error: 722 osync_trace(TRACE_EXIT_ERROR, "%s: % p", __func__, osync_error_print(error));732 osync_trace(TRACE_EXIT_ERROR, "%s: %s", __func__, osync_error_print(error)); 723 733 return NULL; 724 734 }
