浏览代码

Fix minor null termination issue

Default (blank) topic is now properly null-terminated.
master
achmizs 10 年前
父节点
当前提交
a02c297a09
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      IRCClient/IRCClientChannel.m

+ 1
- 1
IRCClient/IRCClientChannel.m 查看文件

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

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

正在加载...
取消
保存