commit b16896c4b4c77dcff5d77851e17ab2846372e935 Author: oggk Date: Tue Feb 24 23:19:59 2009 +0000 fix crucially misplaced parenthesis git-svn-id: http://svn.annodex.net/liboggplay/trunk@3864 8158c8cd-e7e1-0310-9fa4-c5954c97daef diff --git a/src/liboggplay/oggplay_tcp_reader.c b/src/liboggplay/oggplay_tcp_reader.c index e40d2da..3becb6d 100644 --- a/src/liboggplay/oggplay_tcp_reader.c +++ b/src/liboggplay/oggplay_tcp_reader.c @@ -199,7 +199,7 @@ oggplay_hostname_and_path(char *location, char *proxy, int proxy_port, *port = 80; - if ((*path = strdup("/") == NULL)) + if ((*path = strdup("/")) == NULL) goto error; return 0;