Meer debugging
This commit is contained in:
parent
d18c59b4e2
commit
48a2cd5672
2 changed files with 1 additions and 2 deletions
|
@ -66,7 +66,7 @@ int main(int argc, char ** argv){
|
||||||
unsigned int fts = 0;
|
unsigned int fts = 0;
|
||||||
unsigned int ftst;
|
unsigned int ftst;
|
||||||
int ss;
|
int ss;
|
||||||
FLV_Pack * tag;
|
FLV_Pack * tag = 0;
|
||||||
|
|
||||||
//first timestamp set
|
//first timestamp set
|
||||||
firsttime = getNowMS();
|
firsttime = getNowMS();
|
||||||
|
|
|
@ -24,7 +24,6 @@ int DDV_OpenUnix(std::string adres, bool nonblock = false){
|
||||||
flags |= O_NONBLOCK;
|
flags |= O_NONBLOCK;
|
||||||
fcntl(s, F_SETFL, flags);
|
fcntl(s, F_SETFL, flags);
|
||||||
}
|
}
|
||||||
fprintf(stderr, "Connected to %s\n", addr.sun_path);
|
|
||||||
return s;
|
return s;
|
||||||
}else{
|
}else{
|
||||||
close(s);
|
close(s);
|
||||||
|
|
Loading…
Add table
Reference in a new issue