mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 12:37:05 +00:00
add some libtool usage in openzap build. This will require re-bootstrap and configure
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@534 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
1 parent
9b5b73c628
commit
ba95f425f7
17 files changed
+10892
-99
No files matched your search
@@ -26,18 +26,18 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
if ((tmp.fd = open(argv[1], O_WRONLY | O_TRUNC | O_CREAT, S_IRUSR | S_IWUSR)) < 0) {
|
||||
fprintf(stderr, "File Error!\n", strerror(errno));
|
||||
fprintf(stderr, "File Error! [%s]\n", strerror(errno));
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
teletone_init_session(&ts, 0, teletone_handler, &tmp);
|
||||
ts.rate = 8000;
|
||||
ts.debug = 1;
|
||||
ts.debug_stream = stdout;
|
||||
teletone_run(&ts, argv[2]);
|
||||
close(tmp.fd);
|
||||
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
int32_t main(int argc, char *argv[])
|
||||
|
||||
Reference in new issue
Block a user