fix format logging uint64_t

This commit is contained in:
Jesús García Sáez 2014-02-27 17:47:28 +01:00 committed by Julio García
parent c81476bd04
commit 6bef678114

View file

@ -372,17 +372,14 @@ static inline NSURL *CompleteURLFromMapistoreURI (const char *uri)
{ {
if ([objectURL hasPrefix: url]) if ([objectURL hasPrefix: url])
{ {
*path = [[objectURL substringFromIndex: 7] *path = [[objectURL substringFromIndex: 7] asUnicodeInMemCtx: memCtx];
asUnicodeInMemCtx: memCtx]; [self logWithFormat: @"found path '%s' for fmid %"PRIu64, *path, fmid];
[self logWithFormat: @"found path '%s' for fmid %.16x",
*path, fmid];
rc = MAPISTORE_SUCCESS; rc = MAPISTORE_SUCCESS;
} }
else else
{ {
[self logWithFormat: @"context (%@, %@) does not contain" [self logWithFormat: @"context (%@, %@) does not contain "
@" found fmid: 0x%.16x", @"found fmid: %"PRIu64, objectURL, url, fmid];
objectURL, url, fmid];
*path = NULL; *path = NULL;
rc = MAPISTORE_SUCCESS; rc = MAPISTORE_SUCCESS;
} }