2006-08-02: EV dixit:
> [...] Then, for now I'll just amend a bit the riocp part we've
> been discussing, make an HG patch (will be changeset 94) and
> post a tarball in SF with the name libkarma-0.0.5-pre1 (looks
> like Franky is not hearing the list these days...). [...]

The patch is attached.

Best,
EV.
# HG changeset patch
# User [EMAIL PROTECTED]
# Node ID 661b00297758b598126aac255b2fd2993040bcd6
# Parent  1358e141a33c4de45375503a08064cf9d54d9091
Fixed Ethernet connect failure in riocp.c

diff -r 1358e141a33c -r 661b00297758 tools/riocp.c
--- a/tools/riocp.c     Mon Jul 31 21:32:24 2006
+++ b/tools/riocp.c     Wed Aug  2 17:54:01 2006
@@ -481,17 +481,12 @@
         if(usercodeset) free(usercodeset);
         return -1;
     }
-    if (host!=NULL) {
-        karma=lk_karma_connect(host);
-        lk_errors_p("","");
-        free(host);
-        if (karma != 0) {
-            fprintf(stderr, "unable to connect to rio karma\n");
-            return -1;
-        }
-    }
+    karma=lk_karma_connect(host);
+    lk_errors_p("","");
+    free(host);
 
     if(karma < 0) {
+        fprintf(stderr, "unable to connect to rio karma\n\n"); 
         usage(0);
         if(psw) free(psw);
         if(searchString) free(searchString);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-karma-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel

Reply via email to