mirror of
https://github.com/tomoko-dev9/nntpchan.git
synced 2026-06-01 20:34:46 +02:00
chore: remove redundant words in comment
Signed-off-by: growfrow <growfrow@outlook.com>
This commit is contained in:
@@ -122,7 +122,7 @@ func (self *nntpAttachment) Save(dir string) (err error) {
|
|||||||
fpath := filepath.Join(dir, self.filepath)
|
fpath := filepath.Join(dir, self.filepath)
|
||||||
if !CheckFile(fpath) {
|
if !CheckFile(fpath) {
|
||||||
var f io.WriteCloser
|
var f io.WriteCloser
|
||||||
// does not exist so will will write it
|
// does not exist so will write it
|
||||||
f, err = os.Create(fpath)
|
f, err = os.Create(fpath)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
_, err = f.Write(self.Bytes())
|
_, err = f.Write(self.Bytes())
|
||||||
|
|||||||
@@ -497,7 +497,7 @@ Connection.prototype.onclose = function(callback) {
|
|||||||
/* @brief Initializes the websocket connection.
|
/* @brief Initializes the websocket connection.
|
||||||
*
|
*
|
||||||
* @param channel The channel to open a connection to.
|
* @param channel The channel to open a connection to.
|
||||||
* @return A connection the the websocket.
|
* @return A connection the websocket.
|
||||||
*/
|
*/
|
||||||
function initWebSocket(chat, url, connection) {
|
function initWebSocket(chat, url, connection) {
|
||||||
var ws = null;
|
var ws = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user