summaryrefslogtreecommitdiffabout
path: root/src/eyefiworker.cc
Unidiff
Diffstat (limited to 'src/eyefiworker.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--src/eyefiworker.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eyefiworker.cc b/src/eyefiworker.cc
index 2d7827c..c051482 100644
--- a/src/eyefiworker.cc
+++ b/src/eyefiworker.cc
@@ -16,8 +16,8 @@ eyefiworker::eyefiworker()
16 ; 16 ;
17 } 17 }
18 18
19int eyefiworker::run(int port) { 19int eyefiworker::run(int bindport) {
20 if(!soap_valid_socket(bind(0,port,64))) 20 if(!soap_valid_socket(bind(0,bindport,64)))
21 throw std::runtime_error("failed to bind()"); 21 throw std::runtime_error("failed to bind()");
22 signal(SIGCHLD,SIG_IGN); 22 signal(SIGCHLD,SIG_IGN);
23 while(true) { 23 while(true) {