raindrops RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / 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	[thread overview]
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	other threads:[~2011-02-12  0:47 UTC|newest]

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 ` [PATCH] addrs are always an Array of Strings Eric Wong

Reply instructions:

You may reply publicly 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: http://yhbt.net/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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	http://yhbt.net/raindrops.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).