Give us an own Context per notification client.
[citadel.git] / citadel / modules / extnotify / funambol65.c
index 38499fafc3deddb3776e3b95582c214d7a05ed97..a3c744ece47f08661dcc2a87c1020f6745851d6c 100644 (file)
@@ -73,7 +73,7 @@ int notify_http_server(char *remoteurl,
 
        IO = (AsyncIO*) malloc(sizeof(AsyncIO));
        memset(IO, 0, sizeof(AsyncIO));
-       IO->CitContext = CC;
+       IO->CitContext = CloneContext(CC);
 
        snprintf(msgnumstr, 128, "%ld", MsgNum);