mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
removed some unnecessary logging
This commit is contained in:
@@ -49,14 +49,14 @@ static const NSString* PORT = @"47984";
|
|||||||
NSMutableArray* appList = [[NSMutableArray alloc] init];
|
NSMutableArray* appList = [[NSMutableArray alloc] init];
|
||||||
|
|
||||||
while (node != NULL) {
|
while (node != NULL) {
|
||||||
NSLog(@"node: %s", node->name);
|
//NSLog(@"node: %s", node->name);
|
||||||
if (!xmlStrcmp(node->name, (const xmlChar*)"App")) {
|
if (!xmlStrcmp(node->name, (const xmlChar*)"App")) {
|
||||||
xmlNodePtr appInfoNode = node->xmlChildrenNode;
|
xmlNodePtr appInfoNode = node->xmlChildrenNode;
|
||||||
NSString* appName;
|
NSString* appName;
|
||||||
NSString* appId;
|
NSString* appId;
|
||||||
BOOL appIsRunning = NO;
|
BOOL appIsRunning = NO;
|
||||||
while (appInfoNode != NULL) {
|
while (appInfoNode != NULL) {
|
||||||
NSLog(@"appInfoNode: %s", appInfoNode->name);
|
//NSLog(@"appInfoNode: %s", appInfoNode->name);
|
||||||
if (!xmlStrcmp(appInfoNode->name, (const xmlChar*)"AppTitle")) {
|
if (!xmlStrcmp(appInfoNode->name, (const xmlChar*)"AppTitle")) {
|
||||||
xmlChar* nodeVal = xmlNodeListGetString(docPtr, appInfoNode->xmlChildrenNode, 1);
|
xmlChar* nodeVal = xmlNodeListGetString(docPtr, appInfoNode->xmlChildrenNode, 1);
|
||||||
appName = [[NSString alloc] initWithCString:(const char*)nodeVal encoding:NSUTF8StringEncoding];
|
appName = [[NSString alloc] initWithCString:(const char*)nodeVal encoding:NSUTF8StringEncoding];
|
||||||
@@ -149,7 +149,7 @@ static const NSString* PORT = @"47984";
|
|||||||
|
|
||||||
+ (bool) verifyStatus:(xmlNodePtr)docRoot {
|
+ (bool) verifyStatus:(xmlNodePtr)docRoot {
|
||||||
xmlChar* statusStr = xmlGetProp(docRoot, (const xmlChar*)"status_code");
|
xmlChar* statusStr = xmlGetProp(docRoot, (const xmlChar*)"status_code");
|
||||||
NSLog(@"status: %s", statusStr);
|
//NSLog(@"status: %s", statusStr);
|
||||||
int status = [[NSString stringWithUTF8String:(const char*)statusStr] intValue];
|
int status = [[NSString stringWithUTF8String:(const char*)statusStr] intValue];
|
||||||
xmlFree(statusStr);
|
xmlFree(statusStr);
|
||||||
return status == 200;
|
return status == 200;
|
||||||
|
|||||||
Reference in New Issue
Block a user