summaryrefslogtreecommitdiff
path: root/anymux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'anymux.cpp')
-rw-r--r--anymux.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/anymux.cpp b/anymux.cpp
index 0660a74..f02a3f4 100644
--- a/anymux.cpp
+++ b/anymux.cpp
@@ -73,9 +73,9 @@ int main(int argc, char* argv[])
sig.init();
// ThreadParam p(4445);
- int p;
+ int port;
pthread_t syncListenerThread;
- pthread_create(&syncListenerThread, NULL, syncListener, &p);
+ pthread_create(&syncListenerThread, NULL, syncListener, &port);
int ret = sig.run();