[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [goptlib/master] Fix a ProxyError usage example.
commit fcc1d072d63b3e843495d4af4c0f522ddbb9fefc
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Fri Mar 31 00:19:47 2017 -0700
Fix a ProxyError usage example.
---
pt.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pt.go b/pt.go
index 9633254..3c018a6 100644
--- a/pt.go
+++ b/pt.go
@@ -42,7 +42,7 @@
// if ptInfo.ProxyURL != nil {
// // you need to interpret the proxy URL yourself
// // call pt.ProxyDone instead if it's a type you understand
-// pt.ProxyError("proxy %s is not supported")
+// pt.ProxyError(fmt.Sprintf("proxy %s is not supported", ptInfo.ProxyURL))
// os.Exit(1)
// }
// for _, methodName := range ptInfo.MethodNames {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits