]> code.citadel.org Git - citadel.git/blobdiff - libCxClient/src/misc.c
* Fixed handling of ASYN messages, I think.
[citadel.git] / libCxClient / src / misc.c
index 0efd590843fdaff2149a83e82801e848171d5a3e..d89a6f500e3e0196e2806d9a10f99016d38431e7 100644 (file)
@@ -251,7 +251,7 @@ int         rc;
                        if( rc<0 ) {
                                DPF(( DFA, "data_buf szlen %d", strlen(data_buf) + strlen(buf) +1));
                                if( strlen(buf) ) {
-                                       realloc(data_buf, strlen(data_buf)+strlen(buf)+1);
+                                       data_buf = realloc(data_buf, strlen(data_buf)+strlen(buf)+1);
                                        strcat(data_buf, buf);
                                }
                        }