[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] Still wrong ID number
On Sun, Jul 08, 2001 at 03:47:23PM -0400, rbowen wrote:
> OK, someone tell me what I'm misreading here. When I do a coldsync
> -mI, it tells me:
>
> Your .coldsyncrc should contain something like the following:
>
> pda {
> snum: "*Visor*-G";
> username: "Rich Bowen";
> userid: 1000;
> }
Try taking out the "-G". That's the checksum for the string
"*Visor*". It shouldn't have been printed in that message.
This bug is fixed, but unfortunately hasn't made it into the
stable branch yet. ICAC I've appended the patch.
--
Andrew Arensburger This message *does* represent the
arensb@ooblick.com views of ooblick.com
God is my co-pilot, but the Devil is my bombardier.
diff -u -r1.68 -r1.69
--- src/config.c 2001/05/06 06:04:27 1.68
+++ src/config.c 2001/06/10 22:32:25 1.69
@@ -6,7 +6,7 @@
* You may distribute this file under the terms of the Artistic
* License, as specified in the README file.
*
- * $Id: config.c,v 1.68 2001/05/06 06:04:27 arensb Exp $
+ * $Id: config.c,v 1.69 2001/06/10 22:32:25 arensb Exp $
*/
#include "config.h"
#include <stdio.h>
@@ -1237,6 +1237,13 @@
{
/* This Palm doesn't have a serial number. Say so. */
printf("\tsnum: \"\";\n");
+ } else if (p_snum[0] == '*') {
+ /* Print the Palm's serial number. */
+ /* Special serial numbers (currently, only "*Visor*") are
+ * assumed to begin with '*', so anything that begins with
+ * '*' doesn't get a checksum.
+ */
+ printf("\tsnum: \"%s\";\n", p_snum);
} else {
/* Print the Palm's serial number. */
printf("\tsnum: \"%s-%c\";\n",
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.