diff options
| author | Comment <tim@gray.(none)> | 2012-12-14 12:53:44 +0000 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2012-12-14 12:53:44 +0000 |
| commit | 066b911b19d93191fd5a89b8cd14c51aa18e2fd9 (patch) | |
| tree | 00ef1860b1e51bdca774444a3e959b66dca43809 /vfg/src/Asterisk.cpp | |
| parent | 19c84c74efd5b8ffd1fb8184037910c831990d2e (diff) | |
ready for Dublin
Diffstat (limited to 'vfg/src/Asterisk.cpp')
| -rwxr-xr-x | vfg/src/Asterisk.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vfg/src/Asterisk.cpp b/vfg/src/Asterisk.cpp index 1152efa..f1b8058 100755 --- a/vfg/src/Asterisk.cpp +++ b/vfg/src/Asterisk.cpp @@ -17,7 +17,8 @@ std::vector<std::string> &split(const std::string &s, char delim, std::vector<st Asterisk::~Asterisk()
{
stopThread();
- pclose(file);
+ pclose(file); + printf("asterisk closed\n");
}
/*
@@ -56,7 +57,7 @@ void Asterisk::threadedFunction(){ else {
printf("status err: %s\n",buf);
}
- + //unlock(); //}
@@ -108,7 +109,7 @@ void Asterisk::scmd(string s) { filenum=fileno(file);
fcntl(filenum, F_SETFL, O_NONBLOCK); //printf("close file\n");
- pclose(file); //is blocking!
+ pclose(file); //is blocking!
} |
