- fixed a serious bug where %T arguments were read backwards (they now match the wiki documentation of phrase and then client)
- fixed a bug where the argument count for %T was not checked properly --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40894
This commit is contained in:
		
							parent
							
								
									8303b79ef7
								
							
						
					
					
						commit
						5193fe5a4e
					
				| @ -738,13 +738,13 @@ reswitch: | ||||
| 			} | ||||
| 		case 'T': | ||||
| 			{ | ||||
| 				CHECK_ARGS(0); | ||||
| 				CHECK_ARGS(1); | ||||
| 				char *key; | ||||
| 				bool error; | ||||
| 				size_t res; | ||||
| 				cell_t *target; | ||||
| 				pCtx->LocalToPhysAddr(params[arg++], &target); | ||||
| 				pCtx->LocalToString(params[arg++], &key); | ||||
| 				pCtx->LocalToPhysAddr(params[arg++], &target); | ||||
| 				res = Translate(buf_p, llen, pCtx, key, *target, params, &arg, &error); | ||||
| 				if (error) | ||||
| 				{ | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user