comparison src/libpst.c @ 262:da14095155a2

adding more debug code
author Carl Byington <carl@five-ten-sg.com>
date Sun, 17 Apr 2011 15:30:29 -0700
parents 41862bddcf63
children 2b0498c17a2f
comparison
equal deleted inserted replaced
261:41862bddcf63 262:da14095155a2
4154 * @param h specifies the output destination (buffer, file, encoding) 4154 * @param h specifies the output destination (buffer, file, encoding)
4155 * @param size number of bytes of data already sent to h 4155 * @param size number of bytes of data already sent to h
4156 * @return updated size of the output 4156 * @return updated size of the output
4157 */ 4157 */
4158 static size_t pst_finish_cleanup_holder(pst_holder *h, size_t size) { 4158 static size_t pst_finish_cleanup_holder(pst_holder *h, size_t size) {
4159 char *t;attach->i_id = id2_ptr->id->i_id; 4159 char *t;
4160 DEBUG_ENT("pst_finish_cleanup_holder"); 4160 DEBUG_ENT("pst_finish_cleanup_holder");
4161 if ((h->base64 == 1) && h->fp && h->base64_extra) { 4161 if ((h->base64 == 1) && h->fp && h->base64_extra) {
4162 // need to encode any bytes left over 4162 // need to encode any bytes left over
4163 t = pst_base64_encode_multiple(h->base64_extra_chars, h->base64_extra, &h->base64_line_count); 4163 t = pst_base64_encode_multiple(h->base64_extra_chars, h->base64_extra, &h->base64_line_count);
4164 if (t) { 4164 if (t) {