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>2007-12-04 03:02:36 +0300
committerEion Robb <eion@robbmob.com>2007-12-04 03:02:36 +0300
commit1361ad031fcf4eff1b556c3594a928ef1b06c548 (patch)
treee4c03183b1842c619579946b3f0edaf96eedd8d4 /skype_messaging_carbon2.c
parent02bd37d0a50cb0b8023e2318afce9b3cbb422d94 (diff)
Always notify of attach responses
Diffstat (limited to 'skype_messaging_carbon2.c')
-rwxr-xr-xskype_messaging_carbon2.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/skype_messaging_carbon2.c b/skype_messaging_carbon2.c
index 596aa0d..ee06a85 100755
--- a/skype_messaging_carbon2.c
+++ b/skype_messaging_carbon2.c
@@ -111,13 +111,10 @@ attachResponseCallback(
{
CFNumberRef responseNumber = (CFNumberRef)CFDictionaryGetValue(userInfo, CFSTR("SKYPE_API_ATTACH_RESPONSE"));
int response = CFNumberToCInt(responseNumber);
- if (response)
+ client_id = response;
+ if (delegate && delegate->SkypeAttachResponse)
{
- client_id = response;
- if (delegate && delegate->SkypeAttachResponse)
- {
- delegate->SkypeAttachResponse(response);
- }
+ delegate->SkypeAttachResponse(response?1:0);
}
}