Procházet zdrojové kódy

Fix minor null termination issue

Default (blank) topic is now properly null-terminated.
master
achmizs před 10 roky
rodič
revize
a02c297a09
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      IRCClient/IRCClientChannel.m

+ 1
- 1
IRCClient/IRCClientChannel.m Zobrazit soubor

@@ -81,7 +81,7 @@

_name = name;
_encoding = NSUTF8StringEncoding;
_topic = [NSData dataWithBytes:@"".UTF8String length:0];
_topic = [NSData dataWithBytes:@"".UTF8String length:1];
_modes = @"";
}

Načítá se…
Zrušit
Uložit