The C Source, Patches and (shudder!) Bugs
Post Reply
snecker
Posts: 1
Joined: 22 Dec 2020, 17:53

[PATCH]: Missing bracket in usb_modeswitch_dispatcher.tcl

Post by snecker » 22 Dec 2020, 17:55

Code: Select all

--- a/usb-modeswitch-2.6.0/usb_modeswitch_dispatcher.tcl	2020-12-22 15:46:49.839135261 +0000
+++ b/usb-modeswitch-2.6.0/usb_modeswitch_dispatcher.tcl	2020-12-22 15:43:09.909054160 +0000
@@ -841,7 +841,7 @@
 	}
 	if [string length $config(TargetClass)] {
 		if {![regexp -nocase $usb($ifdir/bInterfaceClass) $config(TargetClass)]} {
-			if {$config(class) != $usb($ifdir/bInterfaceClass} {
+			if {$config(class) != $usb($ifdir/bInterfaceClass)} {
 				set expected 0
 			} else {continue}
 		}
I get an error when trying to set new Target Class otherwise.

LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: [PATCH]: Missing bracket in usb_modeswitch_dispatcher.tcl

Post by LOM » 23 Dec 2020, 04:23

Thanks for the report and fix, Josh will take care of this obvious bug when he gets back.

gbappps1
Posts: 1
Joined: 23 Dec 2023, 09:15
Contact:

Re: [PATCH]: Missing bracket in usb_modeswitch_dispatcher.tcl

Post by gbappps1 » 23 Dec 2023, 09:19

Sharing media on whatsapp gb apk has become even more seamless with the latest update. Users can now send larger files, including documents, videos, and audio files, with a higher file size limit.

Post Reply