summaryrefslogtreecommitdiffstats
path: root/src/plist.c
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-17 21:28:09 +0200
committerGravatar Jonathan Beck2008-08-21 19:10:17 +0200
commitb2ee9d8b0c023750a1d9ad2afed8b1c3def454b1 (patch)
tree65b80160862b976e93e7bc47772ba27dff653422 /src/plist.c
parentae11cc812ed4e4ec011a960b77973e66a8694d10 (diff)
downloadlibimobiledevice-b2ee9d8b0c023750a1d9ad2afed8b1c3def454b1.tar.gz
libimobiledevice-b2ee9d8b0c023750a1d9ad2afed8b1c3def454b1.tar.bz2
Merge master into fixes.
Diffstat (limited to 'src/plist.c')
-rw-r--r--src/plist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plist.c b/src/plist.c
index ed09354..e64cff2 100644
--- a/src/plist.c
+++ b/src/plist.c
@@ -49,7 +49,7 @@ char* format_string(const char* buf, int cols, int depth)
int i = 0;
int j = 0;
- assert(cols > 0);
+ assert(cols >= 0);
assert(depth >= 0);
// Inserts new lines and tabs at appropriate locations