Indentation nit-picking

This commit is contained in:
Kristian Høgsberg 2010-12-01 10:21:15 -05:00
parent 2643707391
commit 0611e3efc2
2 changed files with 5 additions and 5 deletions

View file

@ -1435,8 +1435,8 @@ int main(int argc, char *argv[])
exit(EXIT_FAILURE);
}
socket_name_size = 1 + asprintf(&socket_name, "%c%s", '\0',
option_socket_name);
socket_name_size =
asprintf(&socket_name, "%c%s", '\0', option_socket_name) + 1;
if (wl_display_add_socket(display, socket_name, socket_name_size)) {
fprintf(stderr, "failed to add socket: %m\n");