raindrops RubyGem user+dev discussion/patches/pulls/bugs/help
 help / Atom feed
From: Bryan McLellan <btm@loftninjas.org>
To: raindrops@librelist.com
Subject: [PATCH] addrs are always an Array of Strings
Date: Fri, 11 Feb 2011 16:46:43 -0800
Message-ID: <AANLkTikzMFa0=ENWR4KO8e9ZFxp-+WttVUAPYnGsGMOv@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikzMFa0=ENWR4KO8e9ZFxp-+WttVUAPYnGsGMOv@mail.gmail.com>

---
 ext/raindrops/linux_inet_diag.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ext/raindrops/linux_inet_diag.c b/ext/raindrops/linux_inet_diag.c
index 04eaf39..9006428 100644
--- a/ext/raindrops/linux_inet_diag.c
+++ b/ext/raindrops/linux_inet_diag.c
@@ -320,7 +320,7 @@ static VALUE tcp_listener_stats(VALUE obj, VALUE addrs)
 	args.iov[2].iov_base = alloca(page_size);

 	if (TYPE(addrs) != T_ARRAY)
-		rb_raise(rb_eArgError, "addrs must be an Array or String");
+		rb_raise(rb_eArgError, "addrs must be an Array of Strings");

 	rv = rb_hash_new();
 	ary = RARRAY_PTR(addrs);
-- 
1.7.0.4


       reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-12  0:46 Bryan McLellan [this message]
2011-02-12  0:58 ` Eric Wong

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://bogomips.org/raindrops/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTikzMFa0=ENWR4KO8e9ZFxp-+WttVUAPYnGsGMOv@mail.gmail.com' \
    --to=btm@loftninjas.org \
    --cc=raindrops@librelist.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

raindrops RubyGem user+dev discussion/patches/pulls/bugs/help

Archives are clonable:
	git clone --mirror https://bogomips.org/raindrops-public
	git clone --mirror http://ou63pmih66umazou.onion/raindrops-public

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.raindrops
	nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.raindrops

 note: .onion URLs require Tor: https://www.torproject.org/
       or Tor2web: https://www.tor2web.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox