~bdrung/qemu-kvm/caps-lock-key-up-event

« back to all changes in this revision

Viewing changes to qemu-sockets.c

  • Committer: Bazaar Package Importer
  • Author(s): Serge Hallyn
  • Date: 2010-08-10 08:51:54 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100810085154-ok0jzlkr75dplmc7
Tags: 0.12.5+noroms-0ubuntu1
* New upstream release
* Removed patch which is now upstream:
  0001-Fix-missing-symbols-in-.rel-.rela.plt-sections.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
    ai.ai_family = PF_UNSPEC;
131
131
    ai.ai_socktype = SOCK_STREAM;
132
132
 
133
 
    if (qemu_opt_get(opts, "port") == NULL) {
 
133
    if ((qemu_opt_get(opts, "host") == NULL) ||
 
134
        (qemu_opt_get(opts, "port") == NULL)) {
134
135
        fprintf(stderr, "%s: host and/or port not specified\n", __FUNCTION__);
135
136
        return -1;
136
137
    }