view pidgin/plugins/crazychat/main.c @ 28875:8464e695c62b

Fixes a bad MSN bug where passwords with multi-byte utf8 characters near the 16 byte mark would cause a segmentation fault due to chopping the multi-byte character and turning the string into invalidate utf8. Thanks to Shaun Lindsay at Meebo for tracking this down and fixing it.
author Mark Doliner <mark@kingant.net>
date Wed, 04 Nov 2009 18:41:21 +0000
parents 5fe8042783c1
children a8cc50c2279f
line wrap: on
line source

/sw/#ifdef __APPLE_CC__
#include <Carbon/Carbon.h>
#else
#include <Carbon.h>
#endif


#include "Utilities.h"
#include "QTUtilities.h"

#include "camdata.h"
#include "camproc.h"


#define BailErr(err) {if(err != noErr) goto bail;}


int main(void)
{	
    EnterMovies();
    CamProc(); // change this prototype-> no windows
    fprintf(stderr, "you have just murdered 1000 people.");
    RunApplicationEventLoop();
    return 0;
}