siproc

A primitive SIP client that spawns processes for each call
git clone git://xatko.vsos.ethz.ch/siproc.git
Log | Files | Refs

commit 82a61e33349e4784854331dd8707cd9beeba74bd
parent 93bd13c4d02519ad69c6daf84a34e5f5983017e2
Author: Dominik Schmidt <dominik@schm1dt.ch>
Date:   Sat, 10 Aug 2019 19:18:58 +0200

Remove some spaces

Diffstat:
src/siproc.cpp | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/siproc.cpp b/src/siproc.cpp @@ -44,7 +44,7 @@ struct EV{ else if(ret == 0){ return NULL; } - else { + else{ return ev.data.ptr; } } @@ -313,7 +313,7 @@ class MyCall: public Call{ PJ_LOG(3, ("MyCall", "Child closed stdout, killing it")); fork_off(); } - else { + else{ char *begin = line; while(begin){ char *end = strstr(begin, "\n"); @@ -335,7 +335,7 @@ bool MyAudioMediaPlayer::onEof(){ class MyAccount: public Account{ public: char **args; - MyAccount(char **args) { + MyAccount(char **args){ this->args = args; } ~MyAccount(){ @@ -383,7 +383,7 @@ void MyCall::fork_on(char **args){ } exit(1); } - else { + else{ PJ_LOG(3, ("MyCall", "Fork successfull")); child = pid; close(pipes_stdin[0]); @@ -477,7 +477,7 @@ int main(int argc, char **argv){ } } } - else { + else{ MyCall *c = (MyCall *)ptr; c->handle_line(); }