comparison Renderer/Test/writer.c @ 841:2432c7fe291c

dynamic loading demo bug fix
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Wed, 02 Jun 2010 01:39:15 +0900
parents 0decff4e867b
children
comparison
equal deleted inserted replaced
837:4318c1f750d1 841:2432c7fe291c
62 int 62 int
63 main(int argc, char *argv[]) { 63 main(int argc, char *argv[]) {
64 int tspace; 64 int tspace;
65 int serial; 65 int serial;
66 int xml_id; 66 int xml_id;
67 const char *linda_serv = "localhost"; 67 char *linda_serv = (char *)"localhost";
68 if (argc > 1) 68 if (argc > 1)
69 linda_serv = argv[1]; 69 linda_serv = argv[1];
70 init_linda(); 70 init_linda();
71 tspace = open_linda_java(linda_serv, PORT); 71 tspace = open_linda_java(linda_serv, PORT);
72 printf("open socket (tupple space id) = %d\n", tspace); 72 printf("open socket (tupple space id) = %d\n", tspace);