projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5071475
)
Use xstrdup() instead of xasprintf() for duplicating constant string.
author
Ben Pfaff
<blp@nicira.com>
Fri, 9 Jan 2009 01:16:41 +0000
(17:16 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 13 Jan 2009 01:00:29 +0000
(17:00 -0800)
utilities/vlogconf.c
patch
|
blob
|
history
diff --git
a/utilities/vlogconf.c
b/utilities/vlogconf.c
index c6a891a4f914f6e036f78dc6e31e6b3358c66aeb..1187dcc21f54fd3d60fb0ef11cbd5a3c82a5f9a6 100644
(file)
--- a/
utilities/vlogconf.c
+++ b/
utilities/vlogconf.c
@@
-210,7
+210,7
@@
int main(int argc, char *argv[])
case 'r':
for (i = 0; i < n_clients; i++) {
struct vlog_client *client = clients[i];
- char *request = x
asprintf
("reopen");
+ char *request = x
strdup
("reopen");
transact_ack(client, request, &ok);
free(request);
}