diff options
author | Kinsey Moore <kmoore@digium.com> | 2012-03-22 19:51:16 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2012-03-22 19:51:16 +0000 |
commit | c5b3db1956a3db2446b0310b3a7d59961fe3e089 (patch) | |
tree | 530b55034f5adfb0c7106ae1194679a031afc888 /main/image.c | |
parent | 1d1c28ac4b09df2b663123e55239e411b8f5ad26 (diff) |
Kill off red blobs in most of main/*
Everything still compiled after making these changes, so I assume these
whitespace-only changes didn't break anything (and shouldn't have).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@360190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/image.c')
-rw-r--r-- | main/image.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/main/image.c b/main/image.c index 35e8d6d5c..0146e90ef 100644 --- a/main/image.c +++ b/main/image.c @@ -20,7 +20,7 @@ * * \brief Image Management * - * \author Mark Spencer <markster@digium.com> + * \author Mark Spencer <markster@digium.com> */ #include "asterisk.h" @@ -106,7 +106,7 @@ struct ast_frame *ast_read_image(const char *filename, const char *preflang, str int fd; int len=0; struct ast_frame *f = NULL; - + AST_RWLIST_RDLOCK(&imagers); AST_RWLIST_TRAVERSE(&imagers, i, list) { /* if NULL image format, just pick the first one, otherwise match it. */ @@ -130,7 +130,7 @@ struct ast_frame *ast_read_image(const char *filename, const char *preflang, str } } if (found) - break; + break; } if (found) { @@ -139,7 +139,7 @@ struct ast_frame *ast_read_image(const char *filename, const char *preflang, str if (!found->identify || found->identify(fd)) { /* Reset file pointer */ lseek(fd, 0, SEEK_SET); - f = found->read_image(fd, len); + f = found->read_image(fd, len); } else ast_log(LOG_WARNING, "%s does not appear to be a %s file\n", buf, found->name); close(fd); @@ -147,9 +147,9 @@ struct ast_frame *ast_read_image(const char *filename, const char *preflang, str ast_log(LOG_WARNING, "Unable to open '%s': %s\n", buf, strerror(errno)); } else ast_log(LOG_WARNING, "Image file '%s' not found\n", filename); - + AST_RWLIST_UNLOCK(&imagers); - + return f; } |