Mercurial > pidgin
changeset 6893:126e123bf065
[gaim-migrate @ 7440]
Don't crash on windows
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Fri, 19 Sep 2003 15:54:45 +0000 |
parents | 410e3e1d062e |
children | c2fb9192377b |
files | src/protocols/msn/switchboard.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/msn/switchboard.c Fri Sep 19 15:18:36 2003 +0000 +++ b/src/protocols/msn/switchboard.c Fri Sep 19 15:54:45 2003 +0000 @@ -653,11 +653,12 @@ } ret = msn_servconn_write(swboard->servconn, buf, len); - +#ifndef _WIN32 + /* Windows doesn't like Unix paths */ fp = fopen("/tmp/msn-msg", "wb"); fwrite(buf, 1, len, fp); fclose(fp); - +#endif g_free(buf); return (ret > 0);