From: Luiz Capitulino <lcapitulino@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 2/3] net: inet_strfamily(): Better unknown family report
Date: Wed, 20 Jan 2010 11:42:39 -0200 [thread overview]
Message-ID: <1263994960-8411-3-git-send-email-lcapitulino@redhat.com> (raw)
In-Reply-To: <1263994960-8411-1-git-send-email-lcapitulino@redhat.com>
Returning "????" is a bit meaningless, let's call it "unknown".
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
---
qemu-sockets.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/qemu-sockets.c b/qemu-sockets.c
index 720de22..d912fed 100644
--- a/qemu-sockets.c
+++ b/qemu-sockets.c
@@ -98,7 +98,7 @@ const char *inet_strfamily(int family)
case PF_INET: return "ipv4";
case PF_UNIX: return "unix";
}
- return "????";
+ return "unknown";
}
static void inet_print_addrinfo(const char *tag, struct addrinfo *res)
--
1.6.6
next prev parent reply other threads:[~2010-01-20 13:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-20 13:42 [Qemu-devel] [PATCH 0/3]: Small VNC related cleanup Luiz Capitulino
2010-01-20 13:42 ` [Qemu-devel] [PATCH 1/3] net: Make inet_strfamily() public Luiz Capitulino
2010-01-20 14:56 ` Anthony Liguori
2010-01-20 13:42 ` Luiz Capitulino [this message]
2010-01-20 13:42 ` [Qemu-devel] [PATCH 3/3] vnc: Use inet_strfamily() Luiz Capitulino
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1263994960-8411-3-git-send-email-lcapitulino@redhat.com \
--to=lcapitulino@redhat.com \
--cc=qemu-devel@nongnu.org \
/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.
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 NNTP newsgroup(s).