diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-30 13:50:40 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-30 13:50:40 +0000 |
commit | 81c26039d5b27f039cbaae53f56fe6eca4123467 (patch) | |
tree | e95d25f4bd22e7c37956c3472d58251925debd6a /include | |
parent | 9707926560da45bb16fb3a10ba55679ced4a55ac (diff) |
Change description for insp_aton since only a positive return means convertion was a success.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6169 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/socket.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/socket.h b/include/socket.h index b8f6387d3..cf2b9bf5b 100644 --- a/include/socket.h +++ b/include/socket.h @@ -111,7 +111,12 @@ namespace irc * @param a A human-readable address * @param n An insp_inaddr struct which the result * will be copied into on success. - * @return This function will return 0 upon success, + * @return This method will return a negative value if address + * does not contain a valid address family. 0 if the address is + * does not contain a valid string representing a valid network + * address. A positive value is returned if the network address + * was successfully converted. + * or any other number upon failure. */ int insp_aton(const char* a, insp_inaddr* n); |