time_t is not int
authorAleš Křenek <ljocha@ics.muni.cz>
Mon, 11 May 2009 14:53:22 +0000 (14:53 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Mon, 11 May 2009 14:53:22 +0000 (14:53 +0000)
org.glite.lb.server/src/bkserverd.c

index 26c1bff..0138b56 100644 (file)
@@ -475,7 +475,7 @@ int main(int argc, char *argv[])
                          break;
                case 'Z': lbproxy_ilog_file_prefix = strdup(optarg);
                          break;
-               case 'I': sscanf(optarg, "%d", &rss_time);
+               case 'I': rss_time = atol(optarg);
                          break;
                case '?': usage(name); return 1;
        }