Changeset 252 for trunk/src/sh_mail.c
- Timestamp:
- Oct 12, 2009, 10:40:45 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_mail.c
r248 r252 734 734 if (connfile != NULL) 735 735 { 736 (void) fclose (connfile);736 (void) sl_fclose (FIL__, __LINE__, connfile); 737 737 connfile = NULL; 738 738 } … … 795 795 if (connfile != NULL) 796 796 { 797 (void) fclose (connfile);797 (void) sl_fclose (FIL__, __LINE__, connfile); 798 798 connfile = NULL; 799 799 } … … 1091 1091 { 1092 1092 TPT(( 0, FIL__, __LINE__, _("msg=<fdopen() failed>\n"))); 1093 (void) close(fd);1093 (void) sl_close_fd(FIL__, __LINE__, fd); 1094 1094 SL_RETURN( NULL, _("sh_mail_start_conn")); 1095 1095 } … … 1105 1105 _("mail"), sh.host.name); 1106 1106 TPT(( 0, FIL__, __LINE__, _("msg=<Timeout>\n"))); 1107 (void) fclose(connFile);1107 (void) sl_fclose(FIL__, __LINE__, connFile); 1108 1108 SL_RETURN( NULL, _("sh_mail_start_conn")); 1109 1109 } … … 1135 1135 1136 1136 TPT(( 0, FIL__, __LINE__, _("msg=<Timeout.>\n"))); 1137 (void) fclose(connFile);1137 (void) sl_fclose(FIL__, __LINE__, connFile); 1138 1138 SL_RETURN( NULL, _("sh_mail_start_conn")); 1139 1139 } … … 1167 1167 _("mail"), this_address); 1168 1168 TPT(( 0, FIL__, __LINE__, _("msg=<Timeout.>\n"))); 1169 (void) fclose(connFile);1169 (void) sl_fclose(FIL__, __LINE__, connFile); 1170 1170 SL_RETURN( NULL, _("sh_mail_start_conn")); 1171 1171 } … … 1188 1188 _("mail"), address); 1189 1189 TPT(( 0, FIL__, __LINE__, _("msg=<Timeout.>\n"))); 1190 (void) fclose(connFile);1190 (void) sl_fclose(FIL__, __LINE__, connFile); 1191 1191 SL_RETURN( NULL, _("sh_mail_start_conn")); 1192 1192 } … … 1234 1234 if (ecount == address_num) 1235 1235 { 1236 (void) fclose(connFile);1236 (void) sl_fclose(FIL__, __LINE__, connFile); 1237 1237 SL_RETURN( NULL, _("sh_mail_start_conn")); 1238 1238 } … … 1253 1253 _("mail"), address); 1254 1254 TPT(( 0, FIL__, __LINE__, _("msg=<Timeout.>\n"))); 1255 (void) fclose(connFile);1255 (void) sl_fclose(FIL__, __LINE__, connFile); 1256 1256 SL_RETURN( NULL, _("sh_mail_start_conn")); 1257 1257 }
Note:
See TracChangeset
for help on using the changeset viewer.