RSSClient: fix cast
authorWilfried Goesgens <dothebart@citadel.org>
Thu, 16 May 2013 18:23:19 +0000 (20:23 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Thu, 16 May 2013 18:23:19 +0000 (20:23 +0200)
citadel/modules/rssclient/serv_rssclient.c

index b4e59452f35d74b4e926cbfb2c18956e9f53dfd2..514ba1afd05b751131d5c3261bb1764ec7c493dc 100644 (file)
@@ -878,7 +878,7 @@ void SerializeRSSClientCfgLine(const CfgLineType *ThisOne, StrBuf *OutputBuffer,
 
 void DeleteRSSClientCfgLine(const CfgLineType *ThisOne, RoomNetCfgLine **data)
 {
-       RSSCfgLine *RSSCfg = (RSSCfgLine*) data;
+       RSSCfgLine *RSSCfg = (RSSCfgLine*) *data;
 
        FreeStrBuf(&RSSCfg->Url);
        free(*data);