mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 02:26:23 +00:00
Misc formatting cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
3
acl.c
3
acl.c
@@ -68,11 +68,9 @@ void ast_free_ha(struct ast_ha *ha)
|
||||
/* Copy HA structure */
|
||||
static void ast_copy_ha(struct ast_ha *from, struct ast_ha *to)
|
||||
{
|
||||
|
||||
memcpy(&to->netaddr, &from->netaddr, sizeof(from->netaddr));
|
||||
memcpy(&to->netmask, &from->netmask, sizeof(from->netmask));
|
||||
to->sense = from->sense;
|
||||
|
||||
}
|
||||
|
||||
/* Create duplicate of ha structure */
|
||||
@@ -109,7 +107,6 @@ struct ast_ha *ast_duplicate_ha_list(struct ast_ha *original)
|
||||
return (ret); /* Return start of list */
|
||||
}
|
||||
|
||||
|
||||
struct ast_ha *ast_append_ha(char *sense, char *stuff, struct ast_ha *path)
|
||||
{
|
||||
struct ast_ha *ha = malloc(sizeof(struct ast_ha));
|
||||
|
1
cdr.c
1
cdr.c
@@ -509,5 +509,4 @@ void ast_cdr_append(struct ast_cdr *cdr, struct ast_cdr *newcdr) {
|
||||
cdr->next = newcdr;
|
||||
} else
|
||||
ast_log(LOG_ERROR, "Can't append a CDR to NULL!\n");
|
||||
|
||||
}
|
||||
|
1
config.c
1
config.c
@@ -446,7 +446,6 @@ static int cfg_process(struct ast_config *tmp, struct ast_category **_tmpc, stru
|
||||
,struct ast_comment_struct *
|
||||
#endif
|
||||
);
|
||||
|
||||
struct ast_variable *v;
|
||||
#ifdef PRESERVE_COMMENTS
|
||||
struct ast_comment *com = NULL;
|
||||
|
@@ -345,7 +345,6 @@ static int show_translation(int fd, int argc, char *argv[])
|
||||
}
|
||||
ast_cli(fd," Recalculating Codec Translation (number of sample seconds: %d)\n\n",z);
|
||||
rebuild_matrix(z);
|
||||
|
||||
}
|
||||
|
||||
ast_cli(fd, " Translation times between formats (in milliseconds)\n");
|
||||
|
Reference in New Issue
Block a user