Fix pointer set check

Signed-off-by: Anestis Bechtsoudis <anestis@census-labs.com>
diff --git a/files.c b/files.c
index a5a5067..923ad5c 100644
--- a/files.c
+++ b/files.c
@@ -325,13 +325,13 @@
  */
 bool files_copyFile(const char *source, const char *destination, bool * dstExists)
 {
-    if (*dstExists) *dstExists = false;
+    if (dstExists) *dstExists = false;
     if (link(source, destination) == 0) {
         return true;
     } else {
         if (errno == EEXIST) {
             // Should kick-in before MAC, so avoid the hassle
-            if (*dstExists) *dstExists = true;
+            if (dstExists) *dstExists = true;
             return false;
         } else {
             LOGMSG_P(l_DEBUG, "Couldn't link '%s' as '%s'", source, destination);
@@ -366,7 +366,7 @@
     outFD = open(destination, dstOpenFlags, dstFilePerms);
     if (outFD == -1) {
         if (errno == EEXIST) {
-            if (*dstExists) *dstExists = true;
+            if (dstExists) *dstExists = true;
         }
         LOGMSG_P(l_DEBUG, "Couldn't open '%s' destination", destination);
         close(inFD);