I searched on Google how other open-source Palm synchronization software
did it. This patch is the result of my search.
This patch is made against 0.82. Needs a version of pilot-link after
2002-04-25. I don't know what's the exact version, but if you have
that's 2002 and it's 2004 today so you should have an updated version of
pilot-link in order for this to work.
--
Gideon N. Guillen
[EMAIL PROTECTED]
Take back the web! Download Firefox Today!
http://getfirefox.com
diff -ru multisync-0.82-old/plugins/palm_sync/src/palm_sync.c multisync-0.82-new/plugins/palm_sync/src/palm_sync.c
--- multisync-0.82-old/plugins/palm_sync/src/palm_sync.c 2004-04-13 05:03:20.000000000 +0800
+++ multisync-0.82-new/plugins/palm_sync/src/palm_sync.c 2004-11-25 18:43:15.000000000 +0800
@@ -235,6 +235,7 @@
{
palm_connection *conn;
struct PilotUser User;
+ struct SysInfo sys_info;
gchar *txt;
conn = g_malloc0(sizeof(palm_connection));
@@ -255,6 +256,13 @@
return NULL;
}
+ // Do the following so that MultiSync will work with password enabled
+ // Palm devices (OS 4 and higher).
+ if (dlp_ReadSysInfo(conn->socket, &sys_info) < 0) {
+ palm_debug(conn, 0, "Unable to read SysInfo");
+ goto failed;
+ }
+
//check the user
if (dlp_ReadUserInfo(conn->socket, &User) >= 0) {
if (User.userID == 0)