Aargh! Another one!

Right. That's it. I'm now officially on holiday!

Keith.
# HG changeset patch
# User Keith Bennett <[EMAIL PROTECTED]>
# Node ID 60d680894f4cfde86c9ac515ef2937b443283e3d
# Parent  bf5a91c59d96c2333f543873d621bae7b7dddac9
Fixed typo in lk_karmaUsb_get_device_settings().

diff -r bf5a91c59d96 -r 60d680894f4c src/karmaUsb.c
--- a/src/karmaUsb.c    Fri Sep  1 12:23:11 2006 +0100
+++ b/src/karmaUsb.c    Fri Sep  1 12:51:00 2006 +0100
@@ -156,8 +156,8 @@
 
     if (cached_serial == -1) {
         ret = strlen(usbMountPoint);
-        strncat(path+ret, usbMountPoint, 1024);
-        strncat(path, DEVICE_SETTINGS_FILE, 1024-ret);
+        strncat(path, usbMountPoint, 1024);
+        strncat(path+ret, DEVICE_SETTINGS_FILE, 1024-ret);
         fd = open(path, O_RDONLY);
         if(fd != -1)
             ret = read(fd, buf, 512);
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-karma-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel

Reply via email to