Give us an own Context per notification client.
authorWilfried Goesgens <dothebart@citadel.org>
Sun, 5 Jun 2011 16:42:29 +0000 (16:42 +0000)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 5 Jun 2011 16:42:29 +0000 (16:42 +0000)
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);