summaryrefslogtreecommitdiff
path: root/examples/echo_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/echo_client.py')
-rwxr-xr-xexamples/echo_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/echo_client.py b/examples/echo_client.py
index 02ede14c..cbb04683 100755
--- a/examples/echo_client.py
+++ b/examples/echo_client.py
@@ -139,7 +139,7 @@ if __name__ == '__main__':
#
# if xmpp.connect(('talk.google.com', 5222)):
# ...
- xmpp.process(threaded=False)
+ xmpp.process(block=True)
print("Done")
else:
print("Unable to connect.")