Permalink
Browse files

Fixed fclose() used instead of pclose()

  • Loading branch information...
1 parent 66ab9a6 commit 784f88b7fac014013dcb74e629a87cd524dcab96 @vihai committed Aug 18, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 chan_vgsm/sms_deliver.c
  2. +1 −1 chan_vgsm/sms_status_report.c
View
2 chan_vgsm/sms_deliver.c
@@ -543,7 +543,7 @@ int vgsm_sms_deliver_spool(struct vgsm_sms_deliver *sms)
setlocale(LC_CTYPE, loc);
- fclose(f);
+ pclose(f);
return 0;
}
View
2 chan_vgsm/sms_status_report.c
@@ -596,7 +596,7 @@ int vgsm_sms_status_report_spool(struct vgsm_sms_status_report *sms)
setlocale(LC_CTYPE, loc);
- fclose(f);
+ pclose(f);
return 0;
}

0 comments on commit 784f88b

Please sign in to comment.