r4064: use the same name for type on both ends
authorStefan Metzmacher <metze@samba.org>
Sat, 4 Dec 2004 14:28:06 +0000 (14:28 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:06:21 +0000 (13:06 -0500)
for long term we should remove all typedef's

metze

source/lib/registry/tools/regpatch.c

index 9b37b7952b6b71eab11f2335652d450a85723404..be60b96019ccd3b3e048b110f04f23eeac573a1d 100644 (file)
@@ -154,7 +154,7 @@ static void print_line(struct cmd_line *cl)
  */
 static struct cmd_line *get_cmd_line(int fd)
 {
-  struct cmd_line *cl = smb_xmalloc_p(CMD_LINE);
+  CMD_LINE *cl = smb_xmalloc_p(CMD_LINE);
   int i = 0, rc;
   uint8_t ch;