* fix variable type for return value of read_il_data.
authorMichal Voců <michal@ruk.cuni.cz>
Mon, 31 Oct 2005 19:48:39 +0000 (19:48 +0000)
committerMichal Voců <michal@ruk.cuni.cz>
Mon, 31 Oct 2005 19:48:39 +0000 (19:48 +0000)
That should be signed int to contain error code.

org.glite.lb.logger/src/send_event.c

index 65e2c01..556f84b 100644 (file)
@@ -130,9 +130,9 @@ static
 int 
 get_reply(struct event_queue *eq, char **buf, int *code_min)
 {
-  char *msg;
+  char *msg = NULL;
   int ret, code;
-  size_t len, l;
+  int len, l;
   struct timeval tv;
   struct reader_data data;