mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
Merge pull request #171 from vlajos/typofixes-vlajos-20141108
typo fixes - https://github.com/vlajos/misspell_fixer
This commit is contained in:
commit
bbd7333924
15 changed files with 26 additions and 26 deletions
|
|
@ -158,7 +158,7 @@ char *cmd_get_quoted_param(char **data);
|
|||
/* get parameters from command - you should point free_me somewhere and
|
||||
cmd_params_free() it after you don't use any of the parameters anymore.
|
||||
|
||||
Returns TRUE if all ok, FALSE if error occured. */
|
||||
Returns TRUE if all ok, FALSE if error occurred. */
|
||||
int cmd_get_params(const char *data, gpointer *free_me, int count, ...);
|
||||
|
||||
void cmd_params_free(void *free_me);
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ int net_gethostbyname_nonblock(const char *addr, GIOChannel *pipe,
|
|||
int reverse_lookup);
|
||||
/* Get host's name, call func when finished */
|
||||
int net_gethostbyaddr_nonblock(IPADDR *ip, NET_HOST_CALLBACK func, void *data);
|
||||
/* get the resolved IP address. returns -1 if some error occured with read() */
|
||||
/* get the resolved IP address. returns -1 if some error occurred with read() */
|
||||
int net_gethostbyname_return(GIOChannel *pipe, RESOLVED_IP_REC *rec);
|
||||
|
||||
/* Connect to server, call func when finished */
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ static int buffer_add(NET_SENDBUF_REC *rec, const void *data, int size)
|
|||
|
||||
/* Send data, if all of it couldn't be sent immediately, it will be resent
|
||||
automatically after a while. Returns -1 if some unrecoverable error
|
||||
occured. */
|
||||
occurred. */
|
||||
int net_sendbuffer_send(NET_SENDBUF_REC *rec, const void *data, int size)
|
||||
{
|
||||
int ret;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ void net_sendbuffer_destroy(NET_SENDBUF_REC *rec, int close);
|
|||
|
||||
/* Send data, if all of it couldn't be sent immediately, it will be resent
|
||||
automatically after a while. Returns -1 if some unrecoverable error
|
||||
occured. */
|
||||
occurred. */
|
||||
int net_sendbuffer_send(NET_SENDBUF_REC *rec, const void *data, int size);
|
||||
|
||||
int net_sendbuffer_receive_line(NET_SENDBUF_REC *rec, char **str, int read_socket);
|
||||
|
|
|
|||
|
|
@ -624,7 +624,7 @@ const char *net_gethosterror(int error)
|
|||
int net_hosterror_notfound(int error)
|
||||
{
|
||||
#ifdef HAVE_IPV6
|
||||
#ifdef EAI_NODATA /* NODATA is depricated */
|
||||
#ifdef EAI_NODATA /* NODATA is deprecated */
|
||||
return error != 1 && (error == EAI_NONAME || error == EAI_NODATA);
|
||||
#else
|
||||
return error != 1 && (error == EAI_NONAME);
|
||||
|
|
|
|||
|
|
@ -342,7 +342,7 @@ GSList *nicklist_get_same_unique(SERVER_REC *server, void *id)
|
|||
return rec.list;
|
||||
}
|
||||
|
||||
/* nick record comparision for sort functions */
|
||||
/* nick record comparison for sort functions */
|
||||
int nicklist_compare(NICK_REC *p1, NICK_REC *p2, const char *nick_prefix)
|
||||
{
|
||||
int i;
|
||||
|
|
|
|||
|
|
@ -7,5 +7,5 @@ char *server_tag;
|
|||
time_t last_unread_msg;
|
||||
|
||||
unsigned int unwanted:1; /* TRUE if the other side closed or
|
||||
some error occured (DCC chats!) */
|
||||
some error occurred (DCC chats!) */
|
||||
unsigned int destroying:1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue