5            while ((aByte = bis.read()) != -1) {//!= -1
8 imageFile = new NSData(currentPart.getInputStream(), aByte);
Aside from whether it changed in 5.4 or not, this code just looks wrong ... When the stream is done, aByte will always = -1, so you're passing in -1 as the chunk size to NSData?

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to