From: <svn...@op...> - 2009-04-30 09:53:27
|
Author: bellmich Date: Thu Apr 30 11:53:22 2009 New Revision: 1077 URL: http://libsyncml.opensync.org/changeset/1077 Log: The Funambol server on scheduleworld.com returned error code 511. So we have to implement this code. Modified: trunk/libsyncml/sml_error.c trunk/libsyncml/sml_error.h Modified: trunk/libsyncml/sml_error.c ============================================================================== --- trunk/libsyncml/sml_error.c Wed Apr 29 16:47:30 2009 (r1076) +++ trunk/libsyncml/sml_error.c Thu Apr 30 11:53:22 2009 (r1077) @@ -161,6 +161,10 @@ "server's ALERT (which is included in the same package as the " \ "Status 508). The only valid values for this ALERT are either a slow " \ "sync (201) or a refresh with the server."; + case SML_ERROR_SERVER_FAILURE: + return "Server failure. A severe error occurred in the server while " \ + "processing the request. The originator SHOULD NOT retry the " \ + "request."; /* Internal errors */ case SML_ERROR_INTERNAL_IO_ERROR: Modified: trunk/libsyncml/sml_error.h ============================================================================== --- trunk/libsyncml/sml_error.h Wed Apr 29 16:47:30 2009 (r1076) +++ trunk/libsyncml/sml_error.h Thu Apr 30 11:53:22 2009 (r1077) @@ -100,6 +100,7 @@ SML_ERROR_NOT_IMPLEMENTED = 501, SML_ERROR_SERVICE_UNAVAILABLE = 503, SML_ERROR_REQUIRE_REFRESH = 508, + SML_ERROR_SERVER_FAILURE = 511, /* Internal errors - never ever send this via SyncML */ SML_ERROR_INTERNAL_IO_ERROR = 1501, |