Fixed bug #11387 - added missing initialization of msg in get_reply*(). glite-lb-client_branch_2_0_0
authorZdeněk Salvet <salvet@ics.muni.cz>
Wed, 9 Nov 2005 08:41:22 +0000 (08:41 +0000)
committerZdeněk Salvet <salvet@ics.muni.cz>
Wed, 9 Nov 2005 08:41:22 +0000 (08:41 +0000)
org.glite.lb.client/src/prod_proto.c

index 367d9c1..16810e8 100644 (file)
@@ -98,7 +98,7 @@ static
 int
 get_reply_plain(edg_wll_Context context, edg_wll_PlainConnection *conn, char **buf, int *code_min)
 {
-       char *msg;
+       char *msg = NULL;
        int len, code;
        struct reader_data data;
 
@@ -144,7 +144,7 @@ static
 int
 get_reply_gss(edg_wll_Context context, edg_wll_GssConnection *conn, char **buf, int *code_min)
 {
-       char *msg;
+       char *msg = NULL;
        int code;
        struct reader_data data;