summaryrefslogtreecommitdiffstats
path: root/net.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-09-11 07:12:41 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-09-11 07:12:41 +0000
commitd808cceebff701e5d6bb81be8414509d1381ddf9 (patch)
tree9ff7e6c517fe94b58f902f91bd0bef0e4974f33e /net.c
parent180bcdfa3f4a16e7a92869cdb34e6bdb7778de04 (diff)
downloadrsyslog-d808cceebff701e5d6bb81be8414509d1381ddf9.tar.gz
rsyslog-d808cceebff701e5d6bb81be8414509d1381ddf9.tar.xz
rsyslog-d808cceebff701e5d6bb81be8414509d1381ddf9.zip
minor typos
Diffstat (limited to 'net.c')
-rw-r--r--net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net.c b/net.c
index bf0e468b..3b197cb9 100644
--- a/net.c
+++ b/net.c
@@ -143,7 +143,7 @@ int cvthname(struct sockaddr_storage *f, uchar *pszHost, uchar *pszHostFQDN)
hints.ai_socktype = SOCK_DGRAM;
/* we now do a lookup once again. This one should fail,
- * because we should not have obtained a numeric address. If
+ * because we should not have obtained a non-numeric address. If
* we got a numeric one, someone messed with DNS!
*/
if (getaddrinfo ((char*)pszHostFQDN, NULL, &hints, &res) == 0) {
@@ -169,7 +169,7 @@ int cvthname(struct sockaddr_storage *f, uchar *pszHost, uchar *pszHostFQDN)
/* Please note: we deal with a malicous entry. Thus, we have crafted
* the snprintf() below so that all text is in front of the entry - maybe
- * it would contain characters that would make the message unreadble
+ * it contains characters that make the message unreadable
* (OK, I admit this is more or less impossible, but I am paranoid...)
* rgerhards, 2007-07-16
*/