* PrintDrop.xcodeproj: Define BLU_DEBUG for the PrintDrop-Debug target
* Source/AppController.m:
([AppController readChannel:]): If BLU_DEBUG is defined, NSLog() the buffer
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(HOME)/Applications";
LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/build/Release\"";
+ OTHER_CFLAGS = "-DBLU_DEBUG";
OTHER_LDFLAGS = (
"-undefined",
suppress,
memset(&buf, '\0', sizeof(buf));
sleep(1);
numbytes = libssh2_channel_read(channel, buf, sizeof(buf));
+#ifdef BLU_DEBUG
+ NSLog(@"buf: %s", buf);
+#endif
} while (numbytes > 0);
}