Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/skype4pidgin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEion Robb <eion@robbmob.com>2009-01-03 13:51:04 +0300
committerEion Robb <eion@robbmob.com>2009-01-03 13:51:04 +0300
commit59247001ccc6be514d6079a9f4b48a668849d90d (patch)
tree24e97c15897b7b992cd2b5d72155861c8f669510 /skype_messaging_carbon.c
parent4465fcc9cc61558e929a2101dfa1ae64524f132f (diff)
Fixing SkypeOut buddies not showing
Diffstat (limited to 'skype_messaging_carbon.c')
-rw-r--r--skype_messaging_carbon.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/skype_messaging_carbon.c b/skype_messaging_carbon.c
index fa50c3b..c0aaf89 100644
--- a/skype_messaging_carbon.c
+++ b/skype_messaging_carbon.c
@@ -23,14 +23,13 @@ SkypeNotificationReceived(CFStringRef input)
void *pool = initAutoreleasePool();
int strlen = CFStringGetMaximumSizeForEncoding(CFStringGetLength(input), kCFStringEncodingUTF8);
- printf("Message received");
output = (char *)CFStringGetCStringPtr(input, kCFStringEncodingUTF8);
if (!output)
{
output = NewPtr(strlen+1);
CFStringGetCString(input, output, strlen+1, kCFStringEncodingUTF8);
}
- printf(" %s\n", output);
+ printf("Message received %s\n", output);
//g_thread_create((GThreadFunc)skype_message_received, (void *)output, FALSE, &error);
skype_message_received(output);
if (error)
@@ -169,7 +168,6 @@ send_message(char* message)
//gpointer pool = initAutoreleasePool();
CFStringRef messageString = CFStringCreateWithCString(NULL, message, kCFStringEncodingUTF8);
- printf("Skype send message ");
#if SENDSKYPERETURNS
CFStringRef returnString = NULL;
returnString = SendSkypeCommand(messageString);
@@ -179,7 +177,7 @@ send_message(char* message)
SendSkypeCommand(messageString);
#endif
//destroyAutoreleasePool(pool);
- printf("%s\n", message);
+ printf("Skype send message %s\n", message);
CFRelease(messageString);
}