diff options
author | Martin Szulecki | 2015-01-28 03:07:20 +0100 |
---|---|---|
committer | Martin Szulecki | 2015-01-28 03:07:20 +0100 |
commit | 96775642960696d05098b3cebdab2b0c95a958df (patch) | |
tree | 64e8071f61ebb126826408e3f80ef17b3a09610a /src/ideviceinstaller.c | |
parent | e6160b1fd747a8e9e12045e3b8a7be708f1399e5 (diff) | |
download | ideviceinstaller-96775642960696d05098b3cebdab2b0c95a958df.tar.gz ideviceinstaller-96775642960696d05098b3cebdab2b0c95a958df.tar.bz2 |
Fix a few trailing whitespace errors
Diffstat (limited to 'src/ideviceinstaller.c')
-rw-r--r-- | src/ideviceinstaller.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c index 8f66495..f70ba25 100644 --- a/src/ideviceinstaller.c +++ b/src/ideviceinstaller.c @@ -18,7 +18,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ #ifdef HAVE_CONFIG_H @@ -374,7 +374,7 @@ static int str_is_udid(const char* str) if (strchr(allowed, str[length]) == NULL) { return -1; } - } + } return 0; } @@ -516,7 +516,7 @@ static void parse_opts(int argc, char **argv) if (!options) { options = strdup(optarg); } else { - char *newopts = malloc(strlen(options) + strlen(optarg) + 2); + char *newopts = malloc(strlen(options) + strlen(optarg) + 2); strcpy(newopts, options); free(options); strcat(newopts, ","); @@ -848,7 +848,7 @@ run_again: /* open install package */ int errp = 0; struct zip *zf = NULL; - + if ((strlen(appid) > 5) && (strcmp(&appid[strlen(appid)-5], ".ipcc") == 0)) { zf = zip_open(appid, 0, &errp); if (!zf) { |