diff options
author | Denis Loh <denis.loh@gmail.com> | 2009-10-28 12:33:55 +0100 |
---|---|---|
committer | Denis Loh <denis.loh@gmail.com> | 2009-10-28 12:33:55 +0100 |
commit | b3e11cd2c33627da84867efa0069ddcd3c9c391e (patch) | |
tree | d69829619560e42dd41d8f81587f01ee3d11294f /database | |
parent | 8f5c2e9e959d137eda7551691661861ca957459f (diff) | |
download | vdr-plugin-upnp-b3e11cd2c33627da84867efa0069ddcd3c9c391e.tar.gz vdr-plugin-upnp-b3e11cd2c33627da84867efa0069ddcd3c9c391e.tar.bz2 |
Removed missing & signs since last revision
Diffstat (limited to 'database')
-rw-r--r-- | database/resources.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/database/resources.cpp b/database/resources.cpp index 04172ad..bfd9955 100644 --- a/database/resources.cpp +++ b/database/resources.cpp @@ -249,7 +249,7 @@ cUPnPResource* cUPnPResourceMediator::getResource(unsigned int ResourceID){ int cUPnPResourceMediator::saveResource(cUPnPResource* Resource){ char* escapedResource = NULL; - escapeSQLite(Resource->mResource, escapedResource); + escapeSQLite(Resource->mResource, &escapedResource); cString Format = "UPDATE %s SET %s WHERE %s=%d"; cString Sets = cString::sprintf("%s='%s'," @@ -304,7 +304,7 @@ cUPnPResource* cUPnPResourceMediator::newResource(cUPnPClassObject* Object, int SQLITE_COL_CONTENTTYPE, SQLITE_COL_RESOURCETYPE, *Object->getID(), - escapeSQLite(ResourceFile, escapedResource), + escapeSQLite(ResourceFile, &escapedResource), *ProtocolInfo, *ContentType, ResourceType |