[898] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[D-O-H] r884 - branches/barnowl_unicode/owl/perl/modules/Jabber/lib/Net/XMPP

daemon@ATHENA.MIT.EDU (asedeno@MIT.EDU)
Thu Oct 29 18:10:54 2009

Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
To: dirty-owl-hackers@mit.edu
From: asedeno@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Wed, 16 Jan 2008 14:39:12 -0500 (EST)

Author: asedeno
Date: 2008-01-16 14:39:12 -0500 (Wed, 16 Jan 2008)
New Revision: 884

Modified:
   branches/barnowl_unicode/owl/perl/modules/Jabber/lib/Net/XMPP/Debug.pm
Log:
Unicode/glib branch
Shuffling a line of code to where it actually should be.

Modified: branches/barnowl_unicode/owl/perl/modules/Jabber/lib/Net/XMPP/Debug.pm
===================================================================
--- branches/barnowl_unicode/owl/perl/modules/Jabber/lib/Net/XMPP/Debug.pm	2008-01-16 19:34:55 UTC (rev 883)
+++ branches/barnowl_unicode/owl/perl/modules/Jabber/lib/Net/XMPP/Debug.pm	2008-01-16 19:39:12 UTC (rev 884)
@@ -185,10 +185,10 @@
                     if (-w $args{file})
                     {
                         $self->{HANDLE} = new FileHandle(">$args{file}");
-                        binmode $self->{HANDLE}, ":utf8";
                         if (defined($self->{HANDLE}))
                         {
                             $self->{HANDLE}->autoflush(1);
+			    binmode $self->{HANDLE}, ":utf8";
                             $Net::XMPP::Debug::HANDLES{$args{file}} = $self->{HANDLE};
                         }
                         else


home help back first fref pref prev next nref lref last post