X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fpazpar2_play.c;h=21ab8c8cc434101964bfcd0c5ff575c4e117c406;hb=c61904671e969a32a7f9d38a523f7abaa2b371fd;hp=5339f2dfcb7e259035a8bf62287880274cc2a8d9;hpb=a604a6212609e9b809abd09f91e9f60111f25df7;p=pazpar2-moved-to-github.git diff --git a/src/pazpar2_play.c b/src/pazpar2_play.c index 5339f2d..21ab8c8 100644 --- a/src/pazpar2_play.c +++ b/src/pazpar2_play.c @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2011 Index Data + Copyright (C) Index Data Pazpar2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -86,7 +86,7 @@ static int run(FILE *inf, struct addrinfo *res) } else spec.tv_usec = tv_usec1 - tv_usec0; - + select(0, 0, 0, 0, &spec); } tv_sec0 = tv_sec1; @@ -213,7 +213,7 @@ int main(int argc, char **argv) hints.ai_addr = NULL; hints.ai_canonname = NULL; hints.ai_next = NULL; - + cp = strchr(host, ':'); if (*cp) {