Browse code

ctl: Fix typos

Bastian Triller authored on 05/05/2022 16:24:21
Showing 1 changed files
... ...
@@ -694,7 +694,7 @@ inline static int binrpc_bytes_needed(struct binrpc_parse_ctx *ctx)
694 694
  * known problems: no support for arrays inside STRUCT
695 695
  * param smode: allow simple vals inside struct (needed for 
696 696
  * not-strict-formatted rpc responses)
697
- * returns position after the record and *err==0 if succesfull
697
+ * returns position after the record and *err==0 if successful
698 698
  *         original position and *err<0 if not */
699 699
 inline static unsigned char* binrpc_read_record(struct binrpc_parse_ctx* ctx,
700 700
 												unsigned char* buf,
... ...
@@ -829,7 +829,7 @@ inline static unsigned char* binrpc_read_record(struct binrpc_parse_ctx* ctx,
829 829
 			}
830 830
 			break;
831 831
 		case BINRPC_T_DOUBLE: /* FIXME: hack: represented as fixed point
832
-		                                      inside an long long */
832
+		                                      inside a long long */
833 833
 			if (ctx->in_struct && smode==0) goto error_record;
834 834
 			p=binrpc_read_llong(&ll, len, p, end, err);
835 835
 			v->u.fval=((double)ll)/1000;