summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2015-01-28 03:07:20 +0100
committerGravatar Martin Szulecki2015-01-28 03:07:20 +0100
commit96775642960696d05098b3cebdab2b0c95a958df (patch)
tree64e8071f61ebb126826408e3f80ef17b3a09610a
parente6160b1fd747a8e9e12045e3b8a7be708f1399e5 (diff)
downloadideviceinstaller-96775642960696d05098b3cebdab2b0c95a958df.tar.gz
ideviceinstaller-96775642960696d05098b3cebdab2b0c95a958df.tar.bz2
Fix a few trailing whitespace errors
-rw-r--r--src/ideviceinstaller.c8
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) {