git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
48804e4
)
talloc: Fix a typo
author
Volker Lendecke
<vl@samba.org>
Mon, 2 Jan 2012 13:27:37 +0000
(14:27 +0100)
committer
Volker Lendecke
<vl@samba.org>
Mon, 2 Jan 2012 13:59:59 +0000
(14:59 +0100)
lib/talloc/talloc.c
patch
|
blob
|
history
diff --git
a/lib/talloc/talloc.c
b/lib/talloc/talloc.c
index 2098a329031866c60184683c883f4edf0b5e45ed..8c71cc74ca8205e76193587a29b59f0282a67bc3 100644
(file)
--- a/
lib/talloc/talloc.c
+++ b/
lib/talloc/talloc.c
@@
-1176,7
+1176,7
@@
_PUBLIC_ void *talloc_check_name(const void *ptr, const char *name)
return NULL;
}
return NULL;
}
-static void talloc_abort_type_mis
s
match(const char *location,
+static void talloc_abort_type_mismatch(const char *location,
const char *name,
const char *expected)
{
const char *name,
const char *expected)
{
@@
-1199,7
+1199,7
@@
_PUBLIC_ void *_talloc_get_type_abort(const void *ptr, const char *name, const c
const char *pname;
if (unlikely(ptr == NULL)) {
const char *pname;
if (unlikely(ptr == NULL)) {
- talloc_abort_type_mis
s
match(location, NULL, name);
+ talloc_abort_type_mismatch(location, NULL, name);
return NULL;
}
return NULL;
}
@@
-1208,7
+1208,7
@@
_PUBLIC_ void *_talloc_get_type_abort(const void *ptr, const char *name, const c
return discard_const_p(void, ptr);
}
return discard_const_p(void, ptr);
}
- talloc_abort_type_mis
s
match(location, pname, name);
+ talloc_abort_type_mismatch(location, pname, name);
return NULL;
}
return NULL;
}