diff --git a/src/client/mac/handler/breakpad_nlist_64.cc b/src/client/mac/handler/breakpad_nlist_64.cc index 4d9bbcc7..f00be081 100644 --- a/src/client/mac/handler/breakpad_nlist_64.cc +++ b/src/client/mac/handler/breakpad_nlist_64.cc @@ -190,9 +190,9 @@ int __breakpad_fdnlist(int fd, nlist_type *list, const char **symbolNames, struct exec buf; if (read(fd, (char *)&buf, sizeof(buf)) != sizeof(buf) || (N_BADMAG(buf) && *((uint32_t *)&buf) != magic && - NXSwapBigLongToHost(*((long *)&buf)) != FAT_MAGIC) && - /* The following is the big-endian ppc64 check */ - (*((uint32_t*)&buf)) != FAT_MAGIC) { + NXSwapBigLongToHost(*((long *)&buf)) != FAT_MAGIC && + /* The following is the big-endian ppc64 check */ + (*((uint32_t*)&buf)) != FAT_MAGIC)) { return -1; } diff --git a/src/client/mac/sender/uploader.mm b/src/client/mac/sender/uploader.mm index 7f4b2d3c..7298ed42 100644 --- a/src/client/mac/sender/uploader.mm +++ b/src/client/mac/sender/uploader.mm @@ -546,7 +546,7 @@ NSDictionary *readConfigurationData(const char *configFile) { } if (logFileData_) { - [self uploadData:logFileData_ name:@"log" url:url]; + [self uploadData:logFileData_ name:@"log"]; } [upload release];